Publish in 2005

Discussion in 'AutoCAD' started by Kiwi Russ, May 20, 2004.

  1. Kiwi Russ

    Kiwi Russ Guest

    Has anyone used
    (setvar "FILEDIA" 0)
    (command "-publish" etc etc)
    The problem is I get the prompt : Enter name of sheet list <>:
    I can offer a viarable of the tabs selected, but not a sheet list.
    I have something similar using doslib and the PLOT command, but would it be
    possible to do something similar using the PUBLISH command?
    thanks
    Russ

    (if (equal Printer "printer1")
    (progn
    (setq layouts_to_plot (dos_multilist "Plot Layouts" "Select layouts"
    (layoutlist)))
    (setq NumTabs (length layouts_to_plot))

    ;if more than tab selected then use "layout box"
    (if
    (> NumTabs 1)
    (progn
    (foreach LLN layouts_to_plot
    (layoutlist)
    (setvar "CTAB" LLN)
    (command "-plot" "no" "" "" "printer1.pc3" "" "" "" "")
    );foreach
    );progn
    );if
     
    Kiwi Russ, May 20, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.