Page Setups

Discussion in 'AutoCAD' started by LelandLeahy, Apr 8, 2004.

  1. LelandLeahy

    LelandLeahy Guest

    Is there a way to import page setups without the use of the dialog box? Through lisp, vlisp or vba?
     
    LelandLeahy, Apr 8, 2004
    #1
  2. LelandLeahy

    Khan Guest

    You need to add support file search path in options, where you keep page
    setup standard file.

    (defun C:pSETUP ( )

    (command "PSETUPIN" "PLOT 1050C STANDARD.dwt" "*")

    )

    (defun c:psetd ()
    (vl-load-com)
    (vlax-for ps (vla-get-plotconfigurations
    (vla-get-activedocument
    (vlax-get-acad-object)))
    (vla-delete ps)
    )
    )

    Khan
    Through lisp, vlisp or vba?
     
    Khan, Apr 8, 2004
    #2
  3. LelandLeahy

    CAB2k Guest

    Here is a button for you.

    ^C^C.-PSETUPIN "PageSetups.dwg" "*"

    Where PageSetups.dwg is a drawing with the desired set ups saved.
     
    CAB2k, Apr 8, 2004
    #3
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.