script to plot previous

Discussion in 'AutoCAD' started by BenC, Jun 15, 2004.

  1. BenC

    BenC Guest

    Need help to write a script to plot drawings using 'previous plot' page setup. Everything is fine except the
    space between 'previous' and 'plot' prevent the script to run properly. I am trying to plot drawings from
    other consultants and bypass the annoying 'CANNOT FIND PLOTTER.....(something like that)'. Many Thanks.
     
    BenC, Jun 15, 2004
    #1
  2. BenC

    Max Guest

    I have this in my menu works like a charm...

    ID_Previous Plot [Previous Plot]^c^c(command "-plot" "no" "" "previous
    plot" "" "" "" "")


    HTH




    setup. Everything is fine except the
    am trying to plot drawings from
    PLOTTER.....(something like that)'. Many Thanks.
     
    Max, Jun 15, 2004
    #2
  3. BenC

    BenC Guest

    Thanks.
     
    BenC, Jun 15, 2004
    #3
  4. BenC

    jb4pres Guest

    where did you enter this acad.mnu?
     
    jb4pres, Jun 29, 2004
    #4
  5. BenC

    ECCAD Guest

    The macro uses the 'Previous Plot' definition - whatever was plotted last. You would have to manually set the Plot parameters and plot just one drawing. Then, use the macro to plot remaining drawings..Your initial plot parameters (when you plot the 1st drawing) are saved, and can be 'repeated' using the 'Previous Plot'.
    For the menu. You can add a line to the acad.mns file - perhaps under the header **POP2
    Just open the file with Wordpad, and search for **POP2
    Add the line below this and save the file. Then, in AutoCAD, at the Command: prompt, type in:
    Command: MENUUNLOAD<enter>
    Using the dialog, check 'Replace All', search for the .mns file,
    and 'Load' it. Exit the dialog.
    Your new entry will appear under the 2nd (pop2) pull-down.

    Bob
     
    ECCAD, Jun 29, 2004
    #5
  6. BenC

    ECCAD Guest

    And, if your menu does not show up or it gets funny-looking, at the Command: line, type in:
    Command: (command "menu" "acad")<ENTER>
    to re-load the acad menu.

    Bob
     
    ECCAD, Jun 29, 2004
    #6
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.