EntColor function

  Classes Reference > CAD Database structure > Procedures and functions >

EntColor function

Previous pageReturn to chapter overviewNext page

Returns color of entity

Unit

DXFConv  

function EntColor(E: TsgDXFEntity; Ins: TsgDXFInsert): TColor;

Description

EntColor returns color of entity in which it is drawn in AutoCAD based on the entity and insert (Ins parameter) here the entity is. The Insert parameter can be nil.

Example:

Entity has color "ByLayer" and layer's color is red. The function returns red.  EntColor stores all the procedures made on colors in CAD Importer VCL

Go to CAD VCL Enterprise