Inventor ETO Server with Sub projects – “No Such design”

Here is a solution for a problem that can occur with ETO Server with a project that has sub projects. You can get a “No such design” error just using the “Test Application Services" button in the Inventor ETO Server Configurator. When the designs are in one project with no sub projects the error does not occur.

To use the IPJ with subprojects from ETO Server, the following two things need to be done:

  1. Ensure that the Main.IPJ contains the valid paths. It can be achieved with the XML editor (or notepad)

a. Find this node in the ipj file:

InventorProject\AddInConfigs\AutodeskIntent\Dependents

clip_image002

b. Update the paths in the <string> sub-nodes to point to existing IPJ files on the server.

c. Save Main.IPJ

  1. Ensure that shortcuts to these IPJ files are created

    a. You have to do that on behalf of InventorETOServices userclip_image002[5]

b. In the DOS window, enter the command:

RunAS /user:InventorETOServices cmd

c. You will need to enter the valid password for the InventorETOServices user

[default is:  "ETOServices123!@#" with no quotes, see the wiki help for more info]

d. The new DOS window will appear

clip_image004

e. Change directory to c:\Program Files\Autodesk\Inventor ETO Server 2013\Bin

f. For each dependent IPJ, enter the command, similar to the following:

InventorETOServer.exe -p "c:\_someDir\xxxx\DataFiles\Directory of ipj files\some-name.ipj"

That will create a shortcut in the Inventor Server Documents folder for the InventorETOServices user.

clip_image006

 

This issue is under review by engineering and the problem should be handled in a more graceful manner in one of the future releases.

-Wayne


Comments

2 responses to “Inventor ETO Server with Sub projects – “No Such design””

  1. Hello Wayne,
    Why you have started writing Macros in C# ????
    Does Autodesk changing its platform from VBA to C# ????

  2. Wayne Brill Avatar
    Wayne Brill

    Hi Amool,
    The API for Inventor is a COM automation API. VBA is one way to access it. One reason for making the C# examples is because some developer’s want to use that language. (And it was a request on the the API survey). Cheers,
    Wayne

Leave a Reply to AmoolCancel reply

Discover more from Autodesk Developer Blog

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

Continue reading