Add current annotation scale to objects

Add current annotation scale to objects

Anonymous
Not applicable
2,051 Views
2 Replies
Message 1 of 3

Add current annotation scale to objects

Anonymous
Not applicable

How to add the current annotation scale to selected objects with visual lisp ?

 

 

Accepted solutions (1)
2,052 Views
2 Replies
Replies (2)
Message 2 of 3

DannyNL
Advisor
Advisor
Accepted solution

Quickest way would be to use the command syntax.

 

(setq ss (ssget))
(command "_AIOBJECTSCALEADD" ss "")

Not sure if annotative scaling is exposed through the object model and can easily be manipulated with the VL-commands. Think this is probably a .NET thingy.

Message 3 of 3

jwhite
Advocate
Advocate

(setq ss (ssget))
(vl-cmdf "-objectscale" ss "" "add" (getvar "cannoscale") "")

 

You can also pass it an entity name instead of a selection set.

0 Likes