plotter and plot style location by lisp?

Discussion in 'AutoCAD' started by George Drayton, Aug 14, 2003.

  1. Does anyone know how to find the path to plotters and plot styles (esp in
    A2004) with lisp -allowing for the possibility that they might not be in
    the default location?

    --
    George Drayton
    CD-CAD Ltd
    Christchurch
    New Zealand
     
    George Drayton, Aug 14, 2003
    #1
  2. George Drayton

    R.K. McSwain Guest

    Plotter configs =
    (vla-get-PrinterConfigPath (vla-get-files (vla-get-preferences (vlax-get-acad-object))))

    Plot Styles =
    (vla-get-PrinterStyleSheetPath (vla-get-files (vla-get-preferences (vlax-get-acad-object))))
     
    R.K. McSwain, Aug 14, 2003
    #2
  3. Thanks very much - my first expereince of VLA stuff

    --
    George Drayton
    CD-CAD Ltd
    Christchurch
    New Zealand
     
    George Drayton, Aug 15, 2003
    #3
  4. George Drayton

    Gary J. Orr Guest

    Of course if you don't like the newer, simpler, more user friendly, etc.
    VLA* stuff;
    you could always try (case specific):
    (getenv "PrinterConfigDir") for the plotter directory, and
    (getenv "PrinterStyleSheetDir") for the Plotstyles directory, and as an
    added bonus,
    (getenv "PrinterDescDir") for the hdi drivers and pmp files location.

    Cheers

    --
    Gary J. Orr
    CADD Manager
    (218) 279-2421


    LHB Engineers and Architects
    21 West Superior Street, Suite 500
    Duluth, Mn 55802
    (218) 727-8446
    www.LHBcorp.com
     
    Gary J. Orr, Aug 15, 2003
    #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.