deano33 Posted January 30, 2020 Share Posted January 30, 2020 Anybody tell me whats wrong with this macro? Typed it in 100 times at the command line and works. Any ideas? ^C^C_-LA;S;0;;SETBYLAYER;ALL;;YES;YES;-LAYMCH;ALL;;N;0;Z;E;SAVE;CLOSE; Quote Link to comment Share on other sites More sharing options...
steven-g Posted January 30, 2020 Share Posted January 30, 2020 What is it doing wrong (or not doing)? It certainly runs it's course for me, but I don't know what you are seeing at your end. Quote Link to comment Share on other sites More sharing options...
deano33 Posted January 30, 2020 Author Share Posted January 30, 2020 Thanks Steve. Please see attached. Quote Link to comment Share on other sites More sharing options...
steven-g Posted January 30, 2020 Share Posted January 30, 2020 Aha can you see where the SETBYLAYER command is showing up? it's in response to entering an option for the -LAYER command, and looking at the placement of it I would say thay you have an unwanted space or extra semicolon just before your macro calls SETBYLAYER. Your first _LAYER works fine then for some reason your macro starts -LAYER again. Open your macro wherever it is and move through it using the arrow keys, that should show you where the extra space is. Quote Link to comment Share on other sites More sharing options...
deano33 Posted January 31, 2020 Author Share Posted January 31, 2020 Many thanks Steven. Was missing a ;. ^C^C_-LA;S;0;; ;SETBYLAYER;ALL;;YES;YES;; -LAYMCH;ALL;;N;0; ;-purge;all;;no; ;Z;E;SAVE;CLOSE; Quote Link to comment Share on other sites More sharing options...
SLW210 Posted January 31, 2020 Share Posted January 31, 2020 I have moved your thread to the The CUI, Hatches, Linetypes, Scripts & Macros Forum. 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.