Jump to content

Recommended Posts

Posted

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.

Posted

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.? :geek:

Posted

There is special function:

 

Command: (layoutlist)
("Layout1" "Layout2")

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...