Routines (alphabetical) > Object Classes > File Format Object Classes > IDLffDXF::PutEntity

# IDLffDXF::PutEntity

Syntax | Arguments | Keywords | Version History

The IDLffDXF::PutEntity procedure method inserts an entity into the DXF object. The type of the entity is determined from the DXF_TYPE field of the entity structure. If DXF_TYPE is set to 0, the type is implied by the entity structure.

Note: Line3D entity types will be written as Line entities due to the obsolete status of Line3D. Polyline entities will be automatically converted to Lightweight Polylines where applicable.

## Syntax

Obj->[IDLffDXF::]PutEntity, Data

## Arguments

### Data

An array of Entity structures as defined by the GetEntity method.

Note: If the entity references a non-existent block or layer, one will automatically be created. Blocks and layers can also be created by passing IDL_DXF_BLOCK or IDL_DXF_LAYER structures to this routine.

## Keywords

None

## Version History

5.2 | Introduced