Author |
Topic |
|
n/a
deleted
17 Posts |
Posted - October 19 2005 : 2:54:17 PM
|
Can someone give me some good examples of using wildcards in their scripts.
Such as Find and Replace Text or whatever you use them for so I can get some ideas. Thanks
|
never give up never surrender |
|
Miksteele
Hurricane-Extreme User
USA
216 Posts |
Posted - November 05 2005 : 12:33:13 PM
|
If you pull up the SEARCH & LOG TEXT WIZARD you'll find some good examples or usage, (however you want to look at it).
Personally... I feel these can be useful on a SEARCH & LOG script, but might be quite dangerous on a SEARCH & REPLACE script if you're not careful. |
Mike Fischer Fischer Design Group, LLC Building Model Coordination - Steel Detailing - Connection Design www.FischerDesignGroup.com |
|
|
ryoerger
New Member
USA
7 Posts |
Posted - June 12 2008 : 09:09:53 AM
|
I wanted to Search and Replace a specific number of characters with one known number at a specific location within the string. Would it look like this ********21-** , or would it look like this ########21-## ? I only want to change the "21-" to "11-", but it must search for that specific string length. Hope that's clear.
Thank You! |
Rick Yoerger |
|
|
ryoerger
New Member
USA
7 Posts |
Posted - June 12 2008 : 09:18:47 AM
|
Also, I've done a Search & Log Text. Is there a way to place this list in the File Que? If so, I'm not seeing it.
Thanks again |
Rick Yoerger |
|
|
Admin
Administrator
652 Posts |
|
ryoerger
New Member
USA
7 Posts |
Posted - June 12 2008 : 10:43:22 AM
|
quote: Originally posted by ryoerger
I wanted to Search and Replace a specific number of characters with one known number at a specific location within the string. Would it look like this ********21-** , or would it look like this ########21-## ? I only want to change the "21-" to "11-", but it must search for that specific string length. Hope that's clear.
Thank You!
When I use the later one (#'s) it chooses a drawing which has a text string like this "1B3-TB21-R4-41". I didn't expect it to because I have eight (8) #'s before the "21", not six (6). Humm. |
Rick Yoerger |
|
|
Admin
Administrator
652 Posts |
Posted - June 12 2008 : 11:15:47 AM
|
The search and log and search and replace scripts are backended by lisp. You can modify the lisp to suit your needs. I'm no lisp expert, so the introduction of Wild-Cards into the lisp would be a great idea, but difficult to implement (from what I understand) (Especially all the different variations).
If anyone can modify REPTEXT.LSP to get that working, it would be a good (but dangerous if misused ) addition.
|
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
|
Topic |
|