AutoCAD/Variable Settings
Expert: Scott Wilcox - 12/6/2011
QuestionQUESTION: I have a macro that you helped me with to create layers, however now for some reason I am getting the following error "AutoCAD variable setting rejected: "clayer" "G-PEO-ALL".
ANSWER: Jonathan, can you send me the contents of the macro, so I can evaluate?
Thanks
Sorry for the late response, I was away at a conference last week.
---------- FOLLOW-UP ----------
QUESTION: Not a problem Scott see below.
I place this in the CUI for the menu.
^C^C(setvar "clayer" "G-PEO-ALL")
AnswerI think the problem is you want to create a layer, but you are telling AutoCAD to make a layer current, but the layer does not exist in the drawing.
You may first need to either create the layer with a macro, or insert a dwg file with the layers defined in it.
This line will create the layer,simply add it before the line you sent me, and it should work.
^C^C(command "-layer" n layername )
Let me know if this works.
Scott