The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 New Feature Request
 Super 'Search and replace Text'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - June 09 2004 :  1:35:06 PM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
I use Hurricane's 'Search and replace Text' SCRIPT CREATION WIZARD quite often. I am finding that I also need use the 'Search and replace Mtext' for the same search and replace task or I will end up leaving things behind, (for one reason or another).

I realized that 'Search and replace Text' is a LISP function and 'Search and replace Mtext' is a VBA application. This is why they are separate.

However... Would there be a way to combine the Wizards? Such as... one would run the 'Search and replace Text' wizard, the window pops up, information is typed in, and an additional "tick box" would ask if Mtext shall be changed also. Or... maybe by ticking the box, the Mtext window would pop up with the same search and replace data already typed in. This would then append to the regular text replace script.

This would eliminate a bunch of "work around" tasks...

What do you think?

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com

Admin
Administrator



652 Posts

Posted - June 09 2004 :  10:44:05 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Sounds like a good idea... I'll have to work on it... I like your checkbox idea...

In the meantime, why not just append the two scripts together though? I've saved off a script called "SearchMTEXT" and just fill the two lines of text in manually, then append the "SearchTEXT" script to it (maybe save the whole thing as "SearchReplaceAllText", and just manually edit the search/replace lines...

(I find I only really ever use the Wizards once, then I just save the generated code off, and reuse it by changing the respective lines... maybe I'm just crazy though!?)

(LOAD "C:/PROGRAM FILES/HURRICANE/LISP/REPTEXT.LSP")
;-------------
REPTEXT
Search for
Replace with
Y
Y
Y
Y
ALL

;-------------
-VBALOAD "$HUR_PATH$LISP/Mtext.dvb"
-VBARUN MTEXT.SearchAndReplace
Search for
Replace with
VBAUNLOAD "$HUR_PATH$LISP/Mtext.dvb"
;-------------


I bet this is what you meant by "bunch of work around" tasks... either way... I can take a look at it... the source code is already written, it wouldn't take too much effort...


Thanks!
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Admin
Administrator



652 Posts

Posted - June 12 2004 :  07:34:22 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Miksteel,

Here is the update... fixed a couple of other little things too... like if you press "Create and Run" while AutoCAD is already running a script, Hurricane won't try to launch another AutoCAD session.

Give it a shot!

Regards,
Bill

Download Attachment: hurricane6.3.5.zip
161.78 KB

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - June 12 2004 :  11:23:28 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
Prefect !!! Works Great !!! Thanks

What do you think about offering an option to append? After hitting CREATE, your warning box pops up telling me that I am about to overwrite my user script. This is where probably 8 out of 10 times we would like to click append, but can't. Of course, we just save it and then pull them all together again later. The save is really just a temporary thing though. These never get reused. I know I could script a group of ten changes, (really 20, 1 set of dtext & one set of mtext), save the script and then just edit the script as we need to...but I find I get better results when my users run your wizards. "Better results" = "Less Headaches"

Maybe something to think about...

Thanks for the update!!!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page

Admin
Administrator



652 Posts

Posted - June 13 2004 :  06:34:24 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Excellent idea.... can't say how many times I've wanted to do the same, but I never put 2 and 2 together... I will add that feature to ALL the Wizards...

Thanks,
Bill

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Admin
Administrator



652 Posts

Posted - June 13 2004 :  1:26:19 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Here you go!

If this one gets by your quality control department (you ), I'll release it with full installer.

Thanks again!
Bill

Download Attachment: hurricane6.3.6.zip
163.22 KB

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Miksteele
Hurricane-Extreme User

USA
216 Posts

Posted - June 14 2004 :  08:50:20 AM  Show Profile  Visit Miksteele's Homepage  Reply with Quote
IT PASSED !!!

This is GREAT !!! Thanks a lot!!!

Mike Fischer
Fischer Design Group, LLC
Building Model Coordination - Steel Detailing - Connection Design
www.FischerDesignGroup.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.34 seconds. Snitz Forums 2000