vl-annotative-setscales


(vl-annotative-setscales  enameOrVlaObject  [ scalelist ] )

This function assigns the list of specified annotation scales, or removes any assigned scale if 'scalelist' is omitted.

Arguments

enameOrVlaObject  ename or VlaObject

scalelist  list of annotation scales (strings) to be assigned; if omitted, all assigned scales are removed

Return

T if the annotation scales were successfully added, or NIL;
if a particular annotation scale is already  applied, it is tolerated and not treated as an error

Example

(vl-annotative-setscales hatch '("1:10" "1:50" "1:100"))
(vl-annotative-getscales hatch)
("1:50" "1:100" "1:10" "1:1")

Remarks

the actual scale (CANNOSCALE) is always added, if the entity did not have any assigned scale yet;
if the specified entity does not support annotation scales, NIL is always returned (no error is triggered);

see (vl-annotative-reset)



©  Bricsys NV. All rights reserved.