marcsellier Posted February 13, 2009 Posted February 13, 2009 Hi, I'm making a macro in VBA for AutoCAD. How can I hide all layers present in a drawing of AutoCAD? There is an instuction, command or method? And after that, how can I show a layer called "Pippo"? Thanks, Marc Quote
JohnM Posted February 13, 2009 Posted February 13, 2009 If you have express tools installed you should look into the layiso and layunison commands. Also in autocad the layon and layoff commands Quote
flowerrobot Posted February 13, 2009 Posted February 13, 2009 or layer2 tool bar, which can isolate layers or turn them off so like (carnt remember the coammand name) (command "layeriso" "pippo" \) Quote
CmdrDuh Posted February 13, 2009 Posted February 13, 2009 this should point you in right direction for each acadlayer in thisdrawing.layers layer.freeze=true next layer.item('Pippo").freeze=false Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.