TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: enigma on January 26, 2005, 07:19:40 AM

Title: Freezing layers using wild card characters
Post by: enigma on January 26, 2005, 07:19:40 AM
If I have numerous layers with the word “demo” contained within the description of the layer name how can I freeze all these layers even when the word demo may be located at the first of the name or at the middle or at the last place of the name? I tried *demo* and nothing happened.

Thanks
Title: Freezing layers using wild card characters
Post by: Mark on January 26, 2005, 07:47:47 AM
This just worked for me.
Code: [Select]

Current Layer is 0...
Command:
Command: -la
-LAYER
Current layer:  "0"
Enter an option
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/Plot/Freeze/Thaw/LOck/Unlock/stAte]:
f

Enter name list of layer(s) to freeze or <select objects>: *demo*
Enter an option


current layers
__DEMO
Demo
demo-one
three_demo
twodemo
Title: Freezing layers using wild card characters
Post by: CAB on January 26, 2005, 08:31:00 AM
Check this thread out.
http://theswamp.org/phpBB2/viewtopic.php?t=2671&highlight=search+drawing