The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Hurricane for AutoCAD
 General Discussion
 Layer Mnager

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
pccad@sonic.net Posted - March 16 2002 : 5:23:15 PM
I've come to need a way to wipe out the saved layer states in a series of drawings and can't seem to find a way to select all the states. If I use "-lman" command I can only get a reading of all the layer states using the wild card *, when I try to delete, the * wildcard is not recognized and I'm forced to select one at a time...a pain. It may need a lisp routine but alas I'm not too good at that yet. Any thought on how to get this accoplished so that I can then put it in a script and "blow" it away with a hurricane.
Thanks,
Stan

4   L A T E S T    R E P L I E S    (Newest First)
pccad@sonic.net Posted - March 17 2002 : 5:11:11 PM
Thanks bill, I'll give it a shot. By the way I really like the form and hopefully with a little time it will become a dynamic place to exchange thoughts and ideas to further the practice of efficient and effective CAD.
Thanks,
Stan

BK Posted - March 17 2002 : 4:46:25 PM
It seems that the LMAN command is actually a lisp routine (in you AutoCAD/EXPRESS (Bonus tools) directory) that can be edited.

Unfortunately I don't know lisp well enough to offer any help. (I hate to refer anyone to another site) BUT, I think that if you posted your request to http://www.cadchat.com (naming the lman.lsp file) there would be someone more than willing to fix it. The people that frequent that site are experts at lisp! I bet there is someone there just waiting to "enhance" that lisp routine to add the functionality to delete ALL layer states in one go (using the command line of course!)...

Hope this helps!

Bill
http://www.74mph.com
Hurricane for AutoCAD
pccad@sonic.net Posted - March 17 2002 : 3:58:34 PM
No I would need to address any naming schema, ie, no consistancy in the drawings. Good thought though and thanks for the time.
Stan

BK Posted - March 16 2002 : 6:48:20 PM
Stan, does each drawing happen to have the same state names? If so you can just "hard-code" them into a script.


;BEGIN SCRIPT
-LMAN
D
LAYERSTATE1
Y

-LMAN
D
LAYERSTATE2
Y

;END SCRIPT


It seems however that using that command, if the layer state doesn't exist, then the wrong number of prompts appear, so it doesn't exit and move onto the next state transparently...

I will keep my eyes peeled for a lisp that can blow all the states away in one shot...

Regards,
BK

Bill
http://www.74mph.com
Hurricane for AutoCAD

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.22 seconds. Snitz Forums 2000