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
 Tips and Tricks
 Wild Cards
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

n/a
deleted



17 Posts

Posted - October 19 2005 :  2:54:17 PM  Show Profile  Visit n/a's Homepage  Reply with Quote
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  Show Profile  Visit Miksteele's Homepage  Reply with Quote
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
Go to Top of Page

ryoerger
New Member



USA
7 Posts

Posted - June 12 2008 :  09:09:53 AM  Show Profile  Visit ryoerger's Homepage  Reply with Quote
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
Go to Top of Page

ryoerger
New Member



USA
7 Posts

Posted - June 12 2008 :  09:18:47 AM  Show Profile  Visit ryoerger's Homepage  Reply with Quote
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
Go to Top of Page

Admin
Administrator



652 Posts

Posted - June 12 2008 :  09:31:40 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
Re: Search & Log Text

After running your "Search and Log" script, click the "File List" button, your list will appear in there. (So long as $HUR_PATH$DATA/$USER$-TextLog.lst was the place you told it to put the .lst file)


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

ryoerger
New Member



USA
7 Posts

Posted - June 12 2008 :  10:43:22 AM  Show Profile  Visit ryoerger's Homepage  Reply with Quote
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
Go to Top of Page

Admin
Administrator



652 Posts

Posted - June 12 2008 :  11:15:47 AM  Show Profile  Visit Admin's Homepage  Reply with Quote
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
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.27 seconds. Snitz Forums 2000