Hi @ChristiPedersen. I do not know about the issue you seem to be having, but I think I know of a way to get what the previous settings were. I have posted a few methods in different places in this forum for getting the current option names and values from translator type add-ins. Below is an example of one of them that has been customized to work with the DWF export add-in.
Sub Main
Dim oDoc As Inventor.Document = ThisDoc.Document
Dim oTranslator As Inventor.TranslatorAddIn
For Each oAppAddin As Inventor.ApplicationAddIn In ThisApplication.ApplicationAddIns
If oAppAddin.DisplayName = "Translator: DWF" Then
oTranslator = oAppAddin
End If
Next
'make sure the iLogic Log Window is visible (will show up as a tab next to iLogic tab)
ThisApplication.UserInterfaceManager.DockableWindows.Item("ilogic.logwindow").Visible = True
LogTranslatorOptions(oDoc, oTranslator)
End Sub
Sub LogTranslatorOptions(oDocToExp As Inventor.Document, oTransAddIn As Inventor.TranslatorAddIn)
Dim oContext As Inventor.TranslationContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = Inventor.IOMechanismEnum.kUnspecifiedIOMechanism
Dim oOptions As Inventor.NameValueMap = ThisApplication.TransientObjects.CreateNameValueMap
Dim oReport As New System.Text.StringBuilder
If oTransAddIn.HasSaveCopyAsOptions(oDocToExp, oContext, oOptions) Then
Dim oItem As Integer = 1
For Each oPair In oOptions
oReport.AppendLine("Option Name = " & oOptions.Name(oItem))
oReport.AppendLine("Option Value = " & oOptions.Value(oOptions.Name(oItem)).ToString)
oReport.AppendLine()
oItem = oItem + 1
Next
End If
Logger.Info(vbCrLf & oReport.ToString)
End Sub
After you run it, just look within your iLogic Log window or the results. The 'Values' are not always immediately useful or well explained though, such as when they use a zero or one for Boolean purposes, or the numeric value of an Enum variation, instead of the name of the Enum variation, but it is still pretty handy. There is also another little trick that might be helpful.
TranslatorAddIn.ShowSaveCopyAsOptions
You can show the manual settings screen, adjust some settings, then get the results, to see how the changed manual settings changed the 'options' in the output, as a test.
Below is an example of what I got in my iLogic Log window.
Option Name = Publish_All_Sheets
Option Value = 0
Option Name = Publish_3D_Models
Option Value = 0
Option Name = Launch_Viewer
Option Value = 1
Option Name = Password
Option Value =
Option Name = Publish_Mode
Option Value = 62721
Option Name = Enable_Large_Assembly_Mode
Option Value = 0
Option Name = Enable_Measure
Option Value = 1
Option Name = Enable_Printing
Option Value = 1
Option Name = Enable_Markups
Option Value = 1
Option Name = Enable_Markup_Edits
Option Value = 1
Option Name = Output_Path
Option Value =
Option Name = Include_Sheet_Tables
Option Value = 0
Option Name = Sheet_Metal_Flat_Pattern
Option Value = 0
Option Name = Sheet_Metal_Style_Information
Option Value = 0
Option Name = Sheet_Metal_Part
Option Value = 1
Option Name = Weldment_Preparation
Option Value = 0
Option Name = Weldment_Symbol
Option Value = 0
Option Name = BOM_Structured
Option Value = 1
Option Name = BOM_Parts_Only
Option Value = 1
Option Name = Animations
Option Value = 0
Option Name = Instructions
Option Value = 0
Option Name = iAssembly_All_Members
Option Value = 0
Option Name = iAssembly_3D_Models
Option Value = 0
Option Name = iPart_All_Members
Option Value = 0
Option Name = iPart_3D_Models
Option Value = 0
Option Name = Publish_Component_Props
Option Value = 1
Option Name = Publish_Mass_Props
Option Value = 1
Option Name = Include_Empty_Properties
Option Value = 0
Option Name = Publish_Screenshot
Option Value = 0
Option Name = Screenshot_DPI
Option Value = 96
Option Name = Facet_Quality
Option Value = 69379
Option Name = Force_Facet_Recompute
Option Value = 0
Option Name = Facet_Recompute_Tolerance
Option Value = 0.001
Option Name = Override_Sheet_Color
Option Value = 0
Option Name = Sheet_Color
Option Value = 0
Option Name = Sheet_Range
Option Value = 14082
Option Name = Custom_Begin_Sheet
Option Value = 1
Option Name = Custom_End_Sheet
Option Value = 1
Option Name = All_Color_AS_Black
Option Value = 0
Option Name = Remove_Line_Weights
Option Value = 0
Option Name = Vector_Resolution
Option Value = 720
Option Name = TranscriptAPICall
Option Value = 0
Wesley Crihfield

(Not an Autodesk Employee)