0 Members and 1 Guest are viewing this topic.
Note The ZOOM XP factor is calculated with the following formula: group_41 / group_45 (or pspace_height / mspace_height). 41 Height in paper space units 45 View height (in model space units)
(setq etxt (entget (car vpobj)));---store symbol table for object selected(setq vpscale#denom (cdr (assoc 41 etxt)));---base scale factor(setq vpscale#num (cdr (assoc 45 etxt)));---scale factor value(setq vpscale# (/ vpscale#num vpscale#denom));---returns absolute viewport scale as integer