.NET

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

Change color method of an entity

221 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 (117 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
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!