I have the following code:
(defun c:nuf ()
(vl-load-com)
(vlax-for layout (vla-get-Layouts
(vla-get-activedocument (vlax-get-acad-object))
)
(if (= (vla-get-ModelType layout) :vlax-false)
(command "updatefield" all "")
)
)
)
(princ)
)
but not working - how can I get the fields on each layout to be updated ?
Thanks in advance
Scott