Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Gustavo_Guidi
LAYER Command problem
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
45 Views, 1 Replies
03-27-2009 01:41 PM
I have a program that uses for set a layer and turn it off the following
string
(command "_layer" "_S" lay "_OFF" lay "_Y" "")
The problem is that in one machine with 2008 the command doesn`t prevent to
you about
Really want layer "$$$_AUX_PLAN" (the CURRENT layer) off? y
so the "_Y" must not exist and it creates an error. Is it there any variable
that set this to ON or OFF in order to checkit so the question is made or
not and to give to different way depending on the values of it?
Thanks in advance
string
(command "_layer" "_S" lay "_OFF" lay "_Y" "")
The problem is that in one machine with 2008 the command doesn`t prevent to
you about
Really want layer "$$$_AUX_PLAN" (the CURRENT layer) off?
so the "_Y" must not exist and it creates an error. Is it there any variable
that set this to ON or OFF in order to checkit so the question is made or
not and to give to different way depending on the values of it?
Thanks in advance
*Gustavo_Guidi
Re: LAYER Command problem
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2009 02:07 PM in reply to:
*Gustavo_Guidi
I found that EXPERT variable was the problem
Thanks anyway
"Gustavo_Guidi" escribió en el mensaje
news:6150988@discussion.autodesk.com...
I have a program that uses for set a layer and turn it off the following
string
(command "_layer" "_S" lay "_OFF" lay "_Y" "")
The problem is that in one machine with 2008 the command doesn`t prevent to
you about
Really want layer "$$$_AUX_PLAN" (the CURRENT layer) off? y
so the "_Y" must not exist and it creates an error. Is it there any variable
that set this to ON or OFF in order to checkit so the question is made or
not and to give to different way depending on the values of it?
Thanks in advance
Thanks anyway
"Gustavo_Guidi"
news:6150988@discussion.autodesk.com...
I have a program that uses for set a layer and turn it off the following
string
(command "_layer" "_S" lay "_OFF" lay "_Y" "")
The problem is that in one machine with 2008 the command doesn`t prevent to
you about
Really want layer "$$$_AUX_PLAN" (the CURRENT layer) off?
so the "_Y" must not exist and it creates an error. Is it there any variable
that set this to ON or OFF in order to checkit so the question is made or
not and to give to different way depending on the values of it?
Thanks in advance
