Change color method of an entity

Change color method of an entity

Anonymous
Not applicable
790 Views
1 Reply
Message 1 of 2

Change color method of an entity

Anonymous
Not applicable
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
0 Likes
791 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

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

0 Likes