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 nameapplist: 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.
Source Notes
- [entget (AutoLISP)](https://help.autodesk.com/cloudhelp/2023/ENU/AutoCAD-AutoLISP-Reference/files/GUID-12540DAE-C84B-4BDB-AEEC-DDFE5BE3C42A.htm)
- Status: documented.