vikasranga2 Posted June 13, 2012 Posted June 13, 2012 I want to hide all layers through scripting. Firstly I have to select all layers for the same. So, Can any1 tell me command to select all layers? Quote
Blackfish Posted June 13, 2012 Posted June 13, 2012 A very simple script... -LAYER OFF * Y or in macro ^C^C_-LAYER;OFF;*;Y; The last 'Y' is to turn the current layer off too, if not put 'N' at the end. Quote
vikasranga2 Posted June 13, 2012 Author Posted June 13, 2012 thank you, it is indeed a great help. Can you tell me, commands to create filters? Quote
Blackfish Posted June 13, 2012 Posted June 13, 2012 If you're talking about Layer Filters from Layer Properties Manager the answer is LISP; you cannot use command line for filters. I've found this about making layer filter with LISP: http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Make-Layer-Filter-Lisp/m-p/1563704 But the question is what do you need filters for? Maybe three is different solution for your goal. Quote
BIGAL Posted June 14, 2012 Posted June 14, 2012 What about "layiso" Isolate a layer then turn them back on can pick 1 2 3 etc Question if you turn off all layers wont dwg be a blank screen ? -la can also use wild cards -la off w* 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.