Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do you get the Anno Scale of a Viewport

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
173 Views, 2 Replies

How do you get the Anno Scale of a Viewport

Not the VP scale:
(/ (cdr (assoc 45 xx)) (cdr (assoc 41 xx)))
The Anno Scale?
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

If you're currently in the viewport, you can access the cannoscalevalue variable.

If not, then it's more complicated and involves examining dictionaries, xdictionaries and
xrecords. You can cheat by making that viewport current via code and then check the noted
variable.


wrote in message news:5747418@discussion.autodesk.com...
Not the VP scale:
(/ (cdr (assoc 45 xx)) (cdr (assoc 41 xx)))
The Anno Scale?
Message 3 of 3
Anonymous
in reply to: Anonymous

Thx for the info.
Whats the best way to step through multiple viewports. I know the keyboard short-cut is CTRL+R and the menu macro is ^V, but I don't think that helps me...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost