vl-annotative-set


(vl-annotative-set  enameOrVlaObject  [ scale ])

This function assigns the specified annotation scale (or the current annotation scale "CANNOSCALE") to the specified entity.

Arguments

enameOrVlaObject  ename or VlaObject

scale  (optionally) string, the annotation scale to be assigned; if omitted, the current annotation scale is assigned

Return

T if the (specified or current) annotation scale has been successfully assigned, NIL otherwise

Example

(vl-annotative-set (car (entsel)) "1:50")  T
(vl-annotative-set (vlax-ename->vla-object (car (entsel))) "1:100")  T

Remarks

if the specified entity does not support annotation scales, NIL is always returned (no error is triggered)



©  Bricsys NV. All rights reserved.