mwade93 Posted November 8, 2013 Share Posted November 8, 2013 The code that I posted works perfectly for me every time so you should not have any issues. Make sure to check out that code i posted a couple posts up. Quote Link to comment Share on other sites More sharing options...
Diesel Posted November 11, 2013 Author Share Posted November 11, 2013 The code that I posted works perfectly for me every time so you should not have any issues. Make sure to check out that code i posted a couple posts up. Could you post that code one last time MWade. Thanks Quote Link to comment Share on other sites More sharing options...
Tuns Posted November 12, 2013 Share Posted November 12, 2013 Could you post that code one last time MWade. Thanks See post #6 for the code that he is referring to... Or it could be post #19... Not entirely sure. Quote Link to comment Share on other sites More sharing options...
Diesel Posted November 14, 2013 Author Share Posted November 14, 2013 Does anyone know what I need to do to fix this error: ^C^C(setvar “cecolor” “ByLayer”) (setvar “celweight” -1) (setvar “celtype” “ByLayer”) Command: (setvar “celtype” “ByLayer”) ; error: bad argument type: (or stringp symbolp): nil Quote Link to comment Share on other sites More sharing options...
Tuns Posted November 14, 2013 Share Posted November 14, 2013 Don't use setvar. That should fix it. Why not just use one of the macros that mwade and I posted? Quote Link to comment Share on other sites More sharing options...
Diesel Posted November 14, 2013 Author Share Posted November 14, 2013 Don't use setvar. That should fix it. Why not just use one of the macros that mwade and I posted? I'm not sure what his do. I am very new at this. What should I use besides setvar. All I want is to change all layers back to the default color is all. Any help would be great. Thank you Quote Link to comment Share on other sites More sharing options...
Tuns Posted November 14, 2013 Share Posted November 14, 2013 setvar isn't really needed when setting a system variable. All you need is the system variable name like this: cecolor;"ByLayer”; Try to use semi colons instead of spaces so that your macro is easier to read. Also, you don't need quotation marks around command names. Quote Link to comment Share on other sites More sharing options...
mwade93 Posted November 16, 2013 Share Posted November 16, 2013 Sorry, I got moved over to a new area and I don't really have the time to sit on this site as everyone piles work on me now. But tuns is right about not using setvar. Quote Link to comment Share on other sites More sharing options...
mwade93 Posted November 22, 2013 Share Posted November 22, 2013 Have you gotten it to work? 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.