Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 22
Tony_Gibbs
1372 Views, 21 Replies

Layers

I used to use a program called Strucad and if I had say 5 layers turned of from my batch of say 20 layers, there was a command that allowed you turn on a certain layer by choosing one of the 5 off layers. Strucad would present a window, only showing the layers that I had turned of

Is there something around to allow me to do this in Autocad 3013

21 REPLIES 21
Message 21 of 22
BlackBox_
in reply to: Kent1Cooper


@Kent1Cooper wrote:

One possible drawback, however, is that there actually needs to be something drawn on the Layer(s) you want thawed/on.  You can't use it to thaw and turn on a Layer that has nothing drawn for you to pick on.


Having not viewed the code you posted, an easy enhancement to mitigate this lone drawback, is to allow the user to Enter either a non-selection, or "... [List empty layers]<List empty layers>: " option, which would in turn generate a DCL/DOSLib dialog accordingly.

 

Given your talent, something such as this is nothing but a matter of your time.

 

Just a thought.



"How we think determines what we do, and what we do determines what we get."

Message 22 of 22
F.Camargo
in reply to: phanaem

Hi, phanaem
Excellent code! (code is post#7 Author: Stefan M.)

I've noticed that the code just works for layers OFF. How can I change to work for freeze layers too?

I'd like to use in both situation.

 

Regards

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost