EntLayer function

  Classes Reference > CAD Database structure > Procedures and functions >

EntLayer function

Previous pageReturn to chapter overviewNext page

Returns layer of entity

Unit

DXFConv  

function EntLayer(E: TsgDXFEntity; Ins: TsgDXFInsert): TsgDXFLayer;

Description

Returns the real layer of the entity independently of inserts. If this layer is off, the entity is off. For instance if layer of entity is "0" while Entity's Insert layers is "Layer1", the function returns "Layer1" this is similar to AutoCAD.

Go to CAD VCL Enterprise