Jump to content

Macros Autocad 2014 LT


Diesel

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

  • Diesel

    10

  • mwade93

    10

  • Tuns

    7

  • MSasu

    2

Top Posters In This Topic

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

Link to comment
Share on other sites

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. :lol:

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...