Skip to content

entget

(entget entity [applications])

List of DXF pairs of the entity: (-1 . name), (0 . "LINE"), (8 . "layer"), (10 x y z)… Angles are in radians. Returns nil if the entity does not exist.

(cdr (assoc 10 (entget (car (entsel)))))   ; start point or center

Differences with AutoCAD

Applications (extended data) are accepted but not returned. For types other than LINE, CIRCLE, ARC, LWPOLYLINE, TEXT, MTEXT, POINT, INSERT, ATTRIB and DIMENSION only the common codes are returned.

Download LinceCAD Manual contents