Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change color to all objects in a drawing

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
meirbitXEY88
365 Views, 2 Replies

Change color to all objects in a drawing

Hi,

 

I wanted to know if there is an option to do it with a script...:

I enter to a file that I got.

Choose all objects in the drawing (ctrl+a)

Change the Color in Properties to 'ByLayer'.

What the commands that I should write in the scipt for it?

 

Thanks in advanced

Meir

2 REPLIES 2
Message 2 of 3
pendean
in reply to: meirbitXEY88

Have you looked into SETBYLAYER command? You can control its options with SETBYLAYERMODE command. Both are explained in HELP. One typed shortcut/abbreviation with your CTRL+A... .

CHPROP command can also be used in a script, give it a try, it's all at the commandline.
Message 3 of 3
hwalker
in reply to: meirbitXEY88

Note there is a return below BYLAYER

CHPROP
ALL

C
BYLAYER

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report