Message 1 of 8
Update lisp to return to the first page layout in the drawing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The lisp below I would like it to at the end of the zoom extents on all page layouts to return to the very first page layout in the drawing instead of the one lisp was ran on. Is there a way to do that?
(defun C:ZEa (/ lyt) (setq lyt (getvar 'ctab)) (foreach lay (layoutlist) (setvar 'ctab lay) (command "_.pspace" "_.zoom" "_extents") ); foreach (setvar 'ctab lyt) ); defun