TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Kiwi Russ on May 17, 2004, 02:53:16 AM

Title: Selected tabs only
Post by: Kiwi Russ 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)
)
Title: Selected tabs only
Post by: Mark 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.
Title: Selected tabs only
Post by: CAB on May 17, 2004, 07:59:47 AM
Kiwi,
This may be of some interest

http://theswamp.org/phpBB2/viewtopic.php?t=440&start=30
Title: Selected tabs only
Post by: ELOQUINTET 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