neekcotrack Posted November 6, 2008 Posted November 6, 2008 Is there a way to have lisp do a Control Page Up? I what to do a lisp that prints all my tabs sept for the model tab. The only way I know how to move from tab to tab is control page up/down. Thanks for everything. Quote
Lee Mac Posted November 6, 2008 Posted November 6, 2008 I'm not sure if this would work but: If there is maybe an Active X method of retrieving a list of all the layout tabs in the drawing, then running a print LISP using the "foreach" function on the list.? Quote
ASMI Posted November 6, 2008 Posted November 6, 2008 There is special function: Command: (layoutlist) ("Layout1" "Layout2") Quote
Lee Mac Posted November 6, 2008 Posted November 6, 2008 Yay, thanks ASMI, Then do something like this maybe: (defun c:layplot () (setvar "cmdecho" 0) (setq laylist (layoutlist)) (foreach lay laylist (command "-plot" "Y" lay [b][color=Red]etc etc etc[/color][/b] ) ; end plot ) ; end foreach (setvar "cmdecho" 1) (princ) ) ; end function Quote
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.