Author Topic: Selected tabs only  (Read 2601 times)

0 Members and 1 Guest are viewing this topic.

Kiwi Russ

  • Guest
Selected tabs only
« on: May 17, 2004, 02:53:16 AM »
hi I posted this question in Autodesk.customization newsgroup but I have no answer to my question. Does anyone in this forum know the answer?


How can I make the code below print only the tabs I highlight. At the moment all tabs are printed regardless of which tabs I selected
(btw this is to get around 2005's printing issues)
many thanks if you can solve my problem
Russ

(defun C:plotabs (/ )
(foreach LLN (layoutlist)
  (setvar "CTAB" LLN)
  (command "-plot" "" "" "" "" "" "" "")
)
(princ)
)

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Selected tabs only
« Reply #1 on: May 17, 2004, 07:32:22 AM »
Good question Russ. I cannot find any reference in the docs as to what object(?) the highlighted tabs are stored in. The only solution I can think of is generating a list by asking the user what tabs to plot.
TheSwamp.org  (serving the CAD community since 2003)

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Selected tabs only
« Reply #2 on: May 17, 2004, 07:59:47 AM »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

ELOQUINTET

  • Guest
Selected tabs only
« Reply #3 on: May 17, 2004, 03:25:47 PM »
yeah you can flag certain tabs with ~ if you don't want it to plot with cabs prog