Using Inventor ETO Server Configurator

One of the tools you use when setting up an ETO application to use with ETO server is the “Inventor ETO Server Configurator”. The user interface for this utility is under review by engineering. One thing that may not be obvious is that you need to hit Enter after filling out the four fields required to add the application.

image

If you don’t Enter and click on “Test Application Services” you will probably get this error:

image

You can get more information by following the directions in the error: 

“turn on IncludeExceptionDetailInFaults from the <serviceDebug> configuration behavior on the server in order to send the exception information back to the client”

To do this, see line 125 in {install location}\Inventor ETO Server 2013\Bin\IntentSessionManager.exe.config.

From the config file:

<!– To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information –>

<serviceDebug includeExceptionDetailInFaults="False"/>

You will have to restart the service for the change to take effect. Either reboot the machine or restart the service from the Services control panel.

image

After making this change, the error when clicking “Test Application Services” will change to this error:

image

This error occurs because even though you have added the four required fields for the application, the configuration doesn’t actually get committed to the configuration file unless you select the row in the grid and hit the “Enter” key. You can check this config file to see if the application was committed.

%ProgramData%\Autodesk\Inventor ETO Server 2013 R1\IntentServices.config

This was a problem I recently worked on. In the end the solution was so simple – “just hit enter”!

Here is the link to the help topic on the Inventor ETO Server Configurator:

http://wikihelp.autodesk.com/Inventor_ETO/enu/2013/Help/1240-Inventor1240/1253-Configur1253

-Wayne


Comments

One response to “Using Inventor ETO Server Configurator”

  1. Hello Wayne,
    I am writing another macro to turn on and off A particular sketch which is in sub-assembly in Main assembly, with name includes “F”. So I used Instr.
    Code is running fine without errors, but sketches are not turning on.
    Please have a look to the code and feel free to suggest any changes:
    Sub ToggleSketchVisibilityOn()
    ‘ Set a reference to the Sketches collection. This assumes
    ‘ that a part document containing a sketch is active.
    Dim oAsmDoc As AssemblyDocument
    Set oAsmDoc = ThisApplication.ActiveDocument
    Dim oCompDef As ComponentDefinition
    Set oCompDef = oAsmDoc.ComponentDefinition
    Dim oOcc As ComponentOccurrences
    Dim oOccDoc As Document
    Dim oSketchname As String
    oSketchname = “F”
    Dim i As Integer
    For i = 1 To oCompDef.occurrences.Count
    If oAsmDoc.ComponentDefinition.occurrences(i).Definition.Type = kPartComponentDefinitionObject Then
    Exit Sub
    Else
    If oAsmDoc.ComponentDefinition.occurrences(i).Definition.Type = kAssemblyComponentDefinitionObject Then
    Set oOccDoc = oAsmDoc.ComponentDefinition.occurrences(i).Definition.Document
    End If
    End If
    Dim oSketches As PlanarSketches
    Set oSketches = ThisApplication.ActiveDocument.ComponentDefinition.Sketches
    Dim oSketch As PlanarSketch
    Set oSketches = oOccDoc.ComponentDefinition.Sketches
    For Each oSketch In oSketches
    If InStr(oSketch.name, oSketchname) Then
    oSketch.Visible = True
    End If
    Next
    Next
    End Sub

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading