designerstuart Posted June 21, 2013 Share Posted June 21, 2013 hi all is there a reason that the $ cannot be used in a macro? I am trying to make a button which audits twice, then deletes the layer called $audit-bad-layer. when I type it in (using command -LAYDEL it works, but putting it in a macro seems to make it stall at the $. tried putting name in "" quotes, doesn't work either. alternative suggestions? thanks! Quote Link to comment Share on other sites More sharing options...
JGA Posted June 21, 2013 Share Posted June 21, 2013 How about *audit-bad-layer? Quote Link to comment Share on other sites More sharing options...
YZ Posted June 27, 2013 Share Posted June 27, 2013 I'm not aware of any logical reason why that character would fail in a macro. So frustrating to find these brick walls hey. As far as I know the * character does not work in the -laydel command. It returns "Invalid Layer Name". As soon as I read the OP I hoped the * wildcard would solve it. Quote Link to comment Share on other sites More sharing options...
steven-g Posted June 27, 2013 Share Posted June 27, 2013 $ is a special character in macro language, it usually lets autocad know that a diesel expression is following. Quote Link to comment Share on other sites More sharing options...
Tuns Posted July 1, 2013 Share Posted July 1, 2013 Change the layer name to not have the $ in it. Like Steven said, $ is used to identify a diesel function so if it is put in the macro it will expect a diesel function. Since you don't have a diesel function it wont do anything but sit there. Quote Link to comment Share on other sites More sharing options...
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.