Make viewport annotation scale match the viewport scale

Make viewport annotation scale match the viewport scale

Ebbe_T_Hansen
Enthusiast Enthusiast
2,217 Views
3 Replies
Message 1 of 4

Make viewport annotation scale match the viewport scale

Ebbe_T_Hansen
Enthusiast
Enthusiast

Is there a way to make sure that the annotation scale of a viewport matches the viewport scale? What property of the viewport is controlling the annotation scale and by what values? It can be assumed that the scale will always be a standard scale and if not it should be possible to set the annotation scale to the closest match

Thanks in advance.

/Ebbe

0 Likes
Accepted solutions (1)
2,218 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I'm prety sure its 45 in the entity list but I am not sure about the value.

1:100 gives me 15600

1:50 gives me 7800

1:1 gives me 156

So there is a logic but I'm not sure about were this numbers origin is.


Hope this helps you,

 

0 Likes
Message 3 of 4

Anonymous
Not applicable
Accepted solution

Sorry thats the VP scale, not sure about the annotation scale but the system variable is Cannoscale and you can change it when your viewport is active , so you might be able to do something with that in your lisp.

0 Likes
Message 4 of 4

Ebbe_T_Hansen
Enthusiast
Enthusiast

Using Cannoscale is a good and simple solution. If you had to do it in another way it could get complicated. It seems that the annotation scale is not in the entity list so it would require some vla property.

0 Likes