AutoCAD 2013/2014 DWG Format
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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?
Solved! Go to Solution.
Re: Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
with Lisp:
(command "_-LAYER" "_OFF" "*" "_Y" "")
or by typing into command line (and so also within a script)
_-LAYER<ENTER>
_OFF<ENTER>
*<ENTER>
_Y<ENTER>
<ENTER>
HTH, - alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I run this script. It turn off only current layer, not all the layers.
I need the script, which select all layers and then turn them off.
Thanks.
Re: Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
>> It turn off only current layer, not all the layers
My message above shows two ways switching off all layers (including the current one) and that does not work in your environment? Can you show then a copy of your command-line so I can see what happend?
Well, one sitation may be a problem, that is if you start my code while the current layer is already OFF, that may be proofed.
Or do I misunderstand something?
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thanks.
great, it worked.
Re: Is there any script (command) to select all layers?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Can I have the command to make filters?
I need to show some specific layers. So, required script to nake filters.
or
Any file having all the commands?

