By Adam Nagy
Inventor 2017 has now 3D PDF support, and the export can also be automated using the API. There is a sample for it in the API Help file but it does not show all the available options. So here they are:
1) Publish Options (Inventor.NameValueMap)
AttachedFiles (String array)
- each string contains the full path of the file to be attached
STEPFileOptions (Inventor.NameValueMap)
- see STEPFileOptions Options below
ExportAllProperties (Boolean)
ExportProperties (String array)
- each string needs to be in the format of "<InternalName of property set>:<name of property>",
e.g. "{F29F85E0-4FF9-1068-AB91-08002B27B3D9}:Title"
ExportDesignViewRepresentations (String array)
- list of the names of Design View Representations you want to export
VisualizationQuality (Inventor.AccuracyEnum)
GenerateAndAttachSTEPFile (Boolean)
LimitToEntitiesInDVRs (Boolean)
- Limit export to entities in selected Design View Representations
FileOutputLocation (String)
ExportTemplate (String)
ViewPDFWhenFinished (Boolean)
2) STEPFileOptions Options (Inventor.NameValueMap)
ApplicationProtocolType (Integer)
- possible values: 2 (=eAP203), 4 (=eAP214IS), 5 (=eAP242)
Author (String)
Authorization (String)
Description (String)
ExportFitTolerance (Double)
IncludeSketches (Boolean)
Organization (String)