Not sure if it helps you but if Inventor is not running you can set the active project by setting the registry key with the path of the project file:
HKEY_CURRENT_USER\Software\Autodesk\Inventor\RegistryVersionXX.0\System\Preferences\FileDialog\LastProjectFile
(Replace XX with the version number of your Inventor version)
I would not know how to get the list of projects without an Inventor.application object. But maybe you know that they are all saved in 1 directory and leverage that knowledge?
if you have the Inventor.Application object then it's easy. This is how you get the list:
For Each projectFile As DesignProject In ThisApplication.DesignProjectManager.DesignProjects
logger.Info(projectFile.Name & " - " & projectFile.FullFileName)
Next
activating a project file is as simple as getting the project object and activating it:
ThisApplication.DesignProjectManager.DesignProjects.ItemByName("MyProject").Activate()
This will only work if there are none documents open.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

Blog: hjalte.nl - github.com