Author |
Topic |
|
Miksteele
Hurricane-Extreme User
USA
216 Posts |
Posted - June 09 2004 : 1:35:06 PM
|
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
|
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 |
|
|
Admin
Administrator
652 Posts |
|
Miksteele
Hurricane-Extreme User
USA
216 Posts |
Posted - June 12 2004 : 11:23:28 AM
|
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 |
|
|
Admin
Administrator
652 Posts |
|
Admin
Administrator
652 Posts |
|
Miksteele
Hurricane-Extreme User
USA
216 Posts |
Posted - June 14 2004 : 08:50:20 AM
|
IT PASSED !!!
This is GREAT !!! Thanks a lot!!! |
Mike Fischer Fischer Design Group, LLC Building Model Coordination - Steel Detailing - Connection Design www.FischerDesignGroup.com |
|
|
|
Topic |
|