So the translator is hard coded to 'do its thing'. It is exposed to the API developer in a sample code like this:
Public Sub PublishTo3DPDF()
' Get the 3D PDF Add-In.
Dim oPDFAddIn As ApplicationAddIn = Nothing
Dim oAddin As ApplicationAddIn
For Each oAddin In invApp.ApplicationAddIns
If oAddin.ClassIdString = "{3EE52B28-D6E0-4EA4-8AA6-C2A266DEBB88}" Then
oPDFAddIn = oAddin
Exit For
End If
Next
If oPDFAddIn Is Nothing Then
MsgBox("Inventor 3D PDF Addin not loaded.")
Exit Sub
End If
Dim oPDFConvertor3D
oPDFConvertor3D = oPDFAddIn.Automation
'Set a reference to the active document (the document to be published).
Dim oDocument As Document
oDocument = invApp.ActiveDocument
' Create a NameValueMap object as Options
Dim oOptions As NameValueMap
oOptions = invApp.TransientObjects.CreateNameValueMap
' Options
oOptions.Value("FileOutputLocation") = "c:\temp\test.pdf"
oOptions.Value("ExportAnnotations") = 1
oOptions.Value("ExportWorkFeatures") = 1
oOptions.Value("GenerateAndAttachSTEPFile") = True
oOptions.Value("VisualizationQuality") = Inventor.AccuracyEnum.kHigh
' Set the properties to export
Dim sProps(0) As String
sProps(0) = "{F29F85E0-4FF9-1068-AB91-08002B27B3D9}:Title" ' Title
oOptions.Value("ExportAllProperties") = False
oOptions.Value("ExportProperties") = sProps
' Set the design views to export
Dim sDesignViews(1) As String
sDesignViews(0) = "Master"
sDesignViews(1) = "View1"
oOptions.Value("ExportDesignViewRepresentations") = sDesignViews
'Publish document.
Call oPDFConvertor3D.Publish(oDocument, oOptions)
End Sub
But nothing to the level of 'how many spaces to use for empty field', or define BOM Item row output. Unless we can crack open the application add-in's code (difficult itself) it will be very difficult to control what it does with the BOM Item.
Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/