Jump to content

Need the commands to change item line colour


djp6

Recommended Posts

Hi all.

 

Many thanks for all your replies to my last post. I've spent a lot of time learning.

I have to repeat the following at work and I'm trying to make either a macro or script to do it but I've only just started learning autoCAD and it keeps going wrong!

I select some items, mainly lines, then using the properties manager I change the layer and next i change the colour, (of the selection not the layer default colour).

I've changed layers OK (^C^C -layer set name ^C) but I cant get the selection to change colour without changing the layers default colour, which I don't want to to do.

Could someone give me the commands or the code please.

Many thanks.

Link to comment
Share on other sites

hi,

 

you can try this macro..

*^C^Cchange;\\;p;c;1;;

where you have to select by "window crossing" or select 2 objects using "pick box"

"1" represents color red

and this macro loops

 

peace out..

 

kool

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