Would you be interested in outputting to an excel file, collecting all the custom properties and then saving the excel file as a pdf????
I not need an excel file.
When you open a PDF file in Acrobat and then the document properties from the PDF file...
>>>File\Properties...\Custom (see screenshot)
then you have the possibility to insert manual the custom properties.
I need the macro program lines that transmits the data from the custom properties (SWX) to the PDF document properties.
I know, that my EPDM system can handle this job, but I want to also create a pdf file without the EPDM system.
thanks for the link. I have checked the tool. It is a great tool, but I want to create my pdf file in SWX only with one mouse click. I hope there is a way to do this with a macro. Can you tell me how the macro program lines would look like?
2010 SOLIDWORKS API Help - Save File as PDF Example (VBA) http://help.solidworks.com/2010/English/api/sldworksapi/Save_File_As_PDF_Example_VB.htm
Set swExportPDFData = swApp.GetExportFileData(1)
' Names of the sheets
strSheetName(0) = "Sheet1"
' strSheetName(1) = "Sheet2"
' strSheetName(2) = "Sheet3"
' strSheetName(3) = "Sheet4"
varSheetName = strSheetName
If swExportPDFData Is Nothing Then MsgBox "Nothing"
boolstatus = swExportPDFData.SetSheets(swExportData_ExportSpecifiedSheets, varSheetName)
boolstatus = swModelDocExt.SaveAs(filename, 0, 0, swExportPDFData, lErrors, lWarnings)