In general:
How to create a PDF from a NX drawing?
Solution possibilities
With Siemens NX and the SAP ECTR interface to NX there are several possibilities to create a PDF from a 2D drawing.
Native with Siemens NX
File->Export PDF
With SAP ECTR interface to NX
Check-in: CGM → PDF
Indirectly during the check-in process: First enable automatic generation of a CGM when saving in Siemens NX:
# Create CGM files as part of the save operation for each partfile that contains # drawings # true = create cgm due save operation # false = dont create a cgm during save (default) UGII_D_CGM_CREATE = true
Then create a post save script in the dtype of the drawing document to convert the CGM to a PDF via the comamnd line tool cgm2pdf.exe of the NX installation.
Check-in: PDF with ++convert.exe
Directly during the check-in process: create a post save script in the dtype of the drawing document to create the PDF with the SAP ECTR tool ++convert.exe.
This solution is not recommended, since the part of the conversion process must be reopened here
Create PDF with addon ++batchEngine
With the installation of the addin ++batchEngine, PDFs for drawings can be generated at a central location.
The trigger here is the change of the document status (e.g. on release).