Hi folks.
I am trying to write an all purpose macro that will output a 3D object as a 3D PDF, and will also output a 2D object as a 2D PDF (all sheets).
I have tried combining 2 existing macros which do those jobs, but now can only seem to create a 2D image of the 3D object.
the key lines are:
Set ExportData = swApp.GetExportFileData(swExportPdfData)
and
ExportData.ExportAs3D = True (or "False" for 2D)
Am I missing something obvious?
SolidworksApi macros