Automatically generate PDFs
HydroSym offers two methods for automatically generating PDFs of your schematic:
- Method 1: Directly on the user PC after closing a hydraulic diagram.
- Method 2: On a central server as part of a check-in workflow of your PDM/PLM system.
Method 1: Generate a PDF on closing
HydroSym can be configured to automatically generate a PDF of a diagram when closing the file. The largest benefit is that this is very easy to configure, however, generating the PDF takes some time, so HydroSym will take more time when closing the file.
To do this:
- Open the Preferences dialog found in the menu bar under Tools
- Click the Misc tab
- Enable the function Autosave .pdf when closing diagram files
- Restart HydroSym
Now HydroSym will automatically generate a PDF after closing a diagram file. This PDF will be saved in the same folder as the diagram file under the same name.
Alternatively, you can provide a Path for autosave .pdf. If a path is provided, HydroSym will not save the PDF in the same folder as the diagram file, but will instead save it to this location. This can be useful if your PDM/PLM system expects the location of the generated PDF to always be the same.
Method 2: Generate a PDF on a central server
For some PDM/PLM systems it's needed to generate the PDFs on a server, for example when a file is checked in or when a revision is released.
This can be accomplished by using the -CREATEPDF
or -CREATEPDFS
parameters.
- With the
-CREATEPDF
parameter, HydroSym will generate separate PDF files for each layout. - The
-CREATEPDFS
parameter will combine all layouts into a single file if the paper size is the same.
Usage
HydroSym.exe <diagram file> -CREATEPDF
Example
HydroSym.exe C:\Users\Paro\Desktop\test.hdf -CREATEPDF
This will create a pdf for the diagram test.hdf
and save it as C:\Users\Paro\Desktop\test.pdf.
Optionally a third parameter can be given to specify the path for saving the pdf.
HydroSym.exe <diagram file> -CREATEPDF <pdf file path>
Example
HydroSym.exe C:\Users\Paro\Desktop\test.hdf -CREATEPDF C:\Users\Paro\Generated PDF\test.pdf
This will generate a pdf and save it to C:\Users\Paro\Generated PDF\test.pdf.