How to get ColorType of CADImport.CADEntity?

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
stedrys
Posts: 2
Joined: 11 Oct 2007, 19:32

How to get ColorType of CADImport.CADEntity?

Post by stedrys » 11 Oct 2007, 19:36

CADImport.CADEntity class has only Color property, but I need to know ColorType (ByValue, ByLayer, ByBlock,..) of this Color. How to get this?

Standa

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 12 Oct 2007, 13:15

Hello Standa,

Propery <b>CADImport.CADEntity.Color</b> may have the following additional values:
<ul><li>CADConst.clByBlock - a color constant that means an entity's color is determined by block.</li>
<li>CADConst.clByLayer - a color constant that means an entity's color is determined by layer.</li>
<li>CADConst.clNone - a color constant that means an entity's color is undefined.</li></ul>
Sergey.

Please post questions to the forum or write to support@cadsofttools.com

Post Reply