Plot command

Discussion in 'AutoCAD' started by Kiwi Russ, Dec 16, 2004.

  1. Kiwi Russ

    Kiwi Russ Guest

    (command "-plot" "no" "" "" "DWF6 eplot.pc3" "" "" "" "")

    Using this line of code works but halfway through a dialog box appears
    asking to name and where to place the dwf file

    Question 1) how would I write the code so that the dialog box does not
    appear?

    Question 2) how would I make it so when the dwf is named it only takes the
    name on the tab?

    thanks Russ
     
    Kiwi Russ, Dec 16, 2004
    #1
  2. Turning off Filedia ? (set to 1, set it to 0)
    (setvar "ctab" (nth 0 (layoutlist))) ; reads out the current layout tab

    Hope it helps you.

    Jan
     
    Jan van de Poel, Dec 16, 2004
    #2
  3. Kiwi Russ

    Kiwi Russ Guest

    Thanks that fixed it. The problem now is when I want to batch plot dwf a
    dialog box appears asking to save it.
    How would I suppress this dialog box and turn it into a command line driven
    sequence?

    Likewise when I use similar code to batch plot pdf's a dialog box appears -
    how do I get rid of this also?

    (I have acad 2005)

    thanks if anyone can help


    (setq layouts_to_plot (dos_multilist "Plot Layouts" "Select layouts"
    (layoutlist)))
    (setq NumTabs (length layouts_to_plot))
    (foreach LLN layouts_to_plot
    (layoutlist)
    (setvar "CTAB" LLN)
    (setvar "FILEDIA" 0)
    (command "-plot" "NO" "" "" "DWF6 eplot.pc3" LLN "NO" "YES")
    (setvar "FILEDIA" 1)
    );foreach
     
    Kiwi Russ, Dec 17, 2004
    #3
  4. The problem now is when I want to batch plot dwf a dialog box appears asking
    to save it.
    We have noticed that too, the only workaround sofar is to save all drawings,
    than start the plotsequence.
    We don't use that many pdf's, no experience with it.

    Regards,

    Jan
     
    Jan van de Poel, Dec 17, 2004
    #4
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.