Function Entry: ENTGET

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: ENTGET

Name

entget

Class

Host Function

Syntax

(entget ename [applist])

Arguments and Values

  • ename: entity name
  • applist: optional list of registered application names

Description

Returns the definition data of an entity as an association list of dotted pairs.

Return Values

Association list representing the entity definition.

If applist is supplied, Autodesk documents that entget also retrieves extended data for the specified registered applications.

Side Effects

None.

Affected By

  • validity of the entity name
  • the optional application filter list

Exceptional Situations

Erroneous if the entity name is invalid or unacceptable to the host.

Examples

  • (entget ename) => ((-1 . <ename>) (0 . "LINE") …)

Compatibility

This is one of the central functions of the AutoLISP host database model.

Notes

entget strongly reinforces the importance of alists and dotted pairs in the language specification.

Autodesk explicitly notes that AutoLISP DXF group codes differ slightly from those in DXF files.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.