ade_editdefcen

AutoCAD Map 3D AutoLISP

Up a level
ade_editdefcen
 
 

Defines a new label point for an object.

(ade_editdefcen ename pt)

Returns T or nil.

ename AutoCAD entity name.
pt Label point, a list of real values defined in
2D or 3D point (point)

Use this function with property alteration if the current label point is not suitable for the text object you are adding.

The following example sets the label point of the last object to (5, 5).

(setq pt1 '(5 5))
(setq ent1 (entlast))
(ade_editdefcen ent1 pt)
(ade_expreval (entlast) ".labelpt" "point")