This is not tested but may work.
(if (null casr)
(setq casr (vlr-sysvar-reactor nil '((:vlr-sysvarchanged . rgnlt))))
)
(defun rgnlt (casr c can)
(cond
((= (car cl) "CANNOSCALE")
(progn
(setq can (strcat "SR" (vl-princ-to-string (fix (/ 1 (getvar "CANNOSCALEVALUE"))))))
(vl-cmdf "dimstyle" "_R" can)
)
(vla-regen (vla-get-activedocument (vlax-get-acad-object)) acActiveViewport)
)
)
)
Another way may be (vla-sendcommand acdoc "your big line")
(setq acdoc (vla-get-activedocument (vlax-get-acad-object)))