purge page setup names

Discussion in 'AutoCAD' started by Michael, Aug 2, 2004.

  1. Michael

    Michael Guest

    I have several unwanted saved page setup names listed and I cannot delete
    them.
    They are not listed in the 'user defined page setups' dialogue box but they
    are listed in the pulldown.

    These are in our template and are no longer worthy of being listed there.

    Any suggestions in how to delete them?

    Thanks
    Michael
     
    Michael, Aug 2, 2004
    #1
  2. Michael

    Dave Mullins Guest

    Do they match the names of your actual Layout tabs?
     
    Dave Mullins, Aug 2, 2004
    #2
  3. Michael

    JMT5 Guest

    It is tricky, if not downright sneaky.

    Open Page Setup. When you are in a Layout, and Paperspace...

    This opens a Page Setup Manager. You should see a list of previously created Page
    Setup names.

    left click on one to highlight it, and then do a right click. This will produce a
    menu that includes Delete.

    Jack Talsky
     
    JMT5, Aug 2, 2004
    #3
  4. Michael

    Michael Guest

    Some of the ones listed are the same as my layouts. I guess they will
    remain.
    I was able to delete the others through the dialogue box.
    Thanks
     
    Michael, Aug 2, 2004
    #4
  5. Michael

    Patrick Guest

    If you need something to run in a script download our demo for Multi-Batch
    and use the script.

    You could batch process a bunch of drawings by deleting all Pagesetups and
    importing the ones you want.

    If you want to set the default Pagesetup you can do so by running a plotting
    script. In this script the last question is "Proceed with plot [Yes/No]
    <Y>:" answer No.
     
    Patrick, Aug 5, 2004
    #5
  6. Michael

    M-dub Guest

    Here's a lisp routine to get rid of 'em all....


    ;; Function to delete all user plot set ups
    (defun c:Del_Pagesetups (/ curdwg pslayout x)
    (vl-load-com)
    (setq
    curdwg (vla-get-ActiveDocument (vlax-get-Acad-Object))
    pslayout (vla-get-Layout (vla-get-PaperSpace curdwg))
    ) ;_ end of setq
    ;; Call RefreshPlotDeviceInfo before GetPlotDeviceNames
    (vla-RefreshPlotDeviceInfo pslayout)
    (vlax-for x (vla-get-Plotconfigurations curdwg)
    (vla-delete x)
    ) ;_ end of vlax-for
    ) ; End Plot_config_list
    (c:Del_Pagesetups)
     
    M-dub, Aug 5, 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.