Export PDF dialog box default path

Wondering if we have the ability to change the default export pdf dialog box filepath? Even if it just remembered the last file save path in the dialog box, that would be a bonus…

Comments

  • As mentoined above,

    you can fix the path to known location.

    I use a simple lisp (see below) that use the drawing location path when printing.

    see if it helps:

    (defun c:pxrnt ()
    (SETVAR "PLOTOUTPUTPATH" (getvar "DWGPREFIX"))
    (command "_print")
    )

  • We used a lisp that made a PDF directory under the dwg location and the lisp would auto plot the layouts to that location. happy to provide code if you think useful.

  • Thanks all but no luck still. I tried updating the plotoutput path but still when I click "ExportPDF", the dialog box opens to the location of the drawing and not to the location I want.

    We work with a CDE software called 12dSynergy which has a folder it monitors for new files. When we pdf from CAD, we save them in this folder. From there they can be uploaded to Synergy with certain file naming or workflow triggering protocols.

  • Maybe exportpdf should be "PLOT" which should match the :Plotoutpathpath" Again have a lisp can provide." two seperate commands.

  • Its_Alive
    edited August 2

    maybe

    FILEDIA = 0
    EXPORTPDF “M:\Dev\Projects\PyRxGit\tests\media\06457.pdf”
    FILEDIA = 1
    

  • Jason Bourhill
    edited August 3

    It looks like changes to PLOTOUTPUTPATH are only read when you restart BricsCAD. Also it is only used for the initial print in the drawing session. If a user changes the output folder, then it will stay with that folder for the rest of the session. This means that you really need to set the folder path as part of your PDF printing routine.

    Attach a LISP example with two pdf printing options to print a PDF out to a set folder.

    • PrintPDFtoFolder uses PLOT to generate the PDF.
    • ExportPDFtoFolder uses EXPORTPDF to generate the PDF.

    Using PLOT you have more control over your printing options. Using EXPORTPDF gives the option of easily printing ALL the layouts to a multi sheet PDF File or to multiple single sheets.

    Jason Bourhill

    CAD Concepts Ltd

    cadconcepts.co.nz

  • I may be a bit dense but why not use publish, you can set a path other than the file directory or the pdf subfolder and it will remember that path across drawings and cad sessions until you change it and you can then still change it anytime and it will remember that path without having to restart BricsCAD.

    Or use a program like Listary or any other directory utility that integrates with the file open/save dialogs if you are on windows and you can define multiple folders to chose from a popup list to switch folders.