.NET

Reply
Member
bncceo
Posts: 3
Registered: ‎05-11-2006
Message 1 of 2 (216 Views)

Change color method of an entity

216 Views, 1 Replies
05-11-2006 11:08 AM
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
Valued Contributor
cnicholas
Posts: 55
Registered: ‎03-26-2007
Message 2 of 2 (112 Views)

Re: Change color method of an entity

10-25-2013 04:35 AM 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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.