Retrieve plotscale of a layout

simon.weel

Usenet Archive
Joined
Jul 8, 2003
Messages
11
Reaction score
0
Hello,

Is there a way to retrieve the plotscale (defined with Pagesetup) of a layout?

Greetings,

Simon Weel
 
Yes, there is:

(defun GetLayoutPlotScale (/ Numer Denom)
(vl-Load-Com)
(vla-GetCustomScale
(vla-Get-ActiveLayout (vla-Get-ActiveDocument (vlax-Get-Acad-Object))) 'Numer 'Denom)
(/ Numer Denom))
 

Latest threads

Back
Top