Page 1 of 1

How to get ColorType of CADImport.CADEntity?

Posted: 11 Oct 2007, 19:36
by stedrys
CADImport.CADEntity class has only Color property, but I need to know ColorType (ByValue, ByLayer, ByBlock,..) of this Color. How to get this?

Standa

Posted: 12 Oct 2007, 13:15
by support
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