Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I have been unable to find any documentation on the ProPDFExport function.
Question - when exporting a drawing to PDF, is it possible to export drawing parameters into custom properties within the new PDF?
For example, say my drawing has two parameters TITLE_LINE_1 and TITLE_LINE_2 with string values "STANDARD WIDGET" and "RED AND BLUE, LARGE" respectively. After exporting to PDF, I would like the newly created PDF to have two custom properties (metadata) with the same names and values.
Has anyone attempted something like this?
Though I haven't done it myself, I believe the mechanism is as follows:
ProPDFoptionsAlloc
ProPDFoptionsIntpropertySet(options, PRO_PDFOPT_PARAM_MODE, PRO_PDF_PARAMS_DESIGNATED);
ProPDFExport(model, path, options)
possibly with some tweaking before/after as to which parameters are designated. Alternatively, you can use PRO_PDF_PARAMS_ALL to get all the parameters.
As a side note, I think that 'Customization' is the right forum instead of the broad Creo one for questions/issues about programmatic interfaces.