Seems like ther should be a way but I can't find it.
This is an old code I used to zoom layouts.
(defun c:vpClose (/ lay_lst lay)
(setq *acad* (vlax-get-acad-object)
*doc* (vla-get-activedocument *acad*)
)
;; make list of names into strings remove Model space
(setq lay_lst (mapcar '(lambda (x) (strcase x)) (layoutlist)))
(vlax-for lay (vla-get-layouts *doc*) ; step through layouts
(vla-put-activelayout *doc* lay) ; activate layout
(and
(= (vla-get-activespace *doc*) 0) ; If not in paperspace
(= (vla-get-mspace *doc*) :vlax-true) ; in mspace viewport
(vla-put-mspace *doc* :vlax-false) ; de-activate vp
)
; (vla-zoomextents *acad*)
)
)(vl-load-com) (princ)