greatday2882
11th Jul 2011, 11:54 pm
Hey guys. I have a macro in AutoCAD 2010 to make a layer and set its color:
^C^C-layer;m;F-ANNO-REV1;C;RED;;;
Which works perfectly. We have a customer who has a set of spec'd layers, their revisions need to be on "$REVNOTE1". The macro is exactly the same:
^C^C-layer;m;$REVNOTE1;C;RED;;;
But when you run the macro, it completely ignores "$REVNOTE1;" so it sets the new layer as "C", then hangs up on "RED" saying it isn't a valid option.
If you manually run through the macro, it works fine. Is there an obvious variable I’m missing to make it not ignore the $? Thank you for any help! http://www.cadtutor.net/forum/images/icons/icon7.gif
^C^C-layer;m;F-ANNO-REV1;C;RED;;;
Which works perfectly. We have a customer who has a set of spec'd layers, their revisions need to be on "$REVNOTE1". The macro is exactly the same:
^C^C-layer;m;$REVNOTE1;C;RED;;;
But when you run the macro, it completely ignores "$REVNOTE1;" so it sets the new layer as "C", then hangs up on "RED" saying it isn't a valid option.
If you manually run through the macro, it works fine. Is there an obvious variable I’m missing to make it not ignore the $? Thank you for any help! http://www.cadtutor.net/forum/images/icons/icon7.gif