lonelysn Posted March 7, 2016 Share Posted March 7, 2016 Zoom extends ;zOOM EXTENDS ALL LAYOUTS (defun c:LZE (/ Ctab Layout) (princ "\nLayouts Zoom Extents") (setq Ctab (getvar "CTAB")) (foreach Layout (layoutlist) (command "LAYOUT" "S" Layout) (command "PSPACE") (command "ZOOM" "E") ) (setvar "CTAB" Ctab) (princ) ) Zoom window (defun c:LZW (/ Ctab Layout P1 P2) (princ "\nLayouts Zoom Window") (if (/= (setq Ctab (getvar "CTAB")) "Model") (progn (command "PSPACE") (if (and (setq P1 (getpoint "\nSpecify first corner: ")) (setq P2 (getcorner P1 "Specify opposite corner: ")) ) (foreach Layout (layoutlist) (command "LAYOUT" "S" Layout) (command "PSPACE") (command "ZOOM" "W" P1 P2) ) ) ) (command "ZOOM" "W") ) (setvar "CTAB" Ctab) (princ) ) Both lisps NOT mine THANK YOU BROTHER U HAVE SAVED OUR LOADS OF TIME :shock: Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 7, 2016 Share Posted March 7, 2016 THANK YOU BROTHER U HAVE SAVED OUR LOADS OF TIME :shock: You are most welcome Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.