.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change color method of an entity

1 REPLY 1
Reply
Message 1 of 2
bncceo
513 Views, 1 Reply

Change color method of an entity

For AutoCAD 2006, I have an entity that I am changing properties of, but I cannot figure out how to set the colormethod to "By Layer." I am sure that I am missing something, but I am at my wit's end.

Thanks
1 REPLY 1
Message 2 of 2
cnicholas
in reply to: bncceo

You've waited a long time for a response.

 

In AutoCAD 2014 you can set ColorIndex to 256 or set color to the result of Autodesk.AutoCAD.Colors.Color.FromColorIndex(Autodesk.AutoCAD.Colors.ColorMethod.ByLayer,256)

 

I don't know the benefit of or reason why you would use the function. Anyone? 

Craig

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost