.NET

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

Change color method of an entity

218 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 (114 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

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