Returns layer of entity
Unit
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