I am trying to change a viewport scale through the dxf code: I see that certain parts cannot be changed but I don't know if this is one of them. Here's what I have so far:
(defun c:vps ()
(setq quickview (entget(car(entsel))))
(setq g45 (cdr(assoc 45 quickview)))
(setq g41 (cdr(assoc 41 quickview)))
(setq new1 (* g45 1.5))
(entmod (subst (cons 41 new1) (assoc 41 quickview) quickview))
)
The scale is a ratio between m-space height & p-space height. So if I want all viewports to be 1:1.5 scale this is what I need to do, but my entmod command isn't working is there another way?