.NET

Reply
Member
3 Posts
0 Kudos
Registered: ‎05-11-2006
Post 1 of 2

Change color method of an entity

225 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
55 Posts
1 Kudo
Registered: ‎03-26-2007
Post 2 of 2

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 interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!