Launching Autodesk Fusion using COM Objects

Launching Autodesk Fusion using COM Objects

Anonymous
Not applicable
495 Views
1 Reply
Message 1 of 2

Launching Autodesk Fusion using COM Objects

Anonymous
Not applicable

Hi, is it possible to register Fusion 360 in the system registry, and eventually in PythonWin, and launch the application using COM objects? I found a similar launch option in Moldex3D and wanted to try the same here. If my question isn't clear, please see the code I'm pasting below.  

 

import os

import win32com.client

regserver_studio = 'C:\\Users\\Varadharajan\\AppData\\Local\\Autodesk\\webdeploy\\production\\6a0c9611291d45bb9226980209917c3d\\FusionLauncher.exe /regserver -m regnoprompt'

win32com.client.gencache.MakeModuleForTypelib('{CLSID}', 0, 1, 0)
studio_class = win32com.client.gencache.GetClassForProgID('Fusion.App')
studio = studio_class()

 

Also, if this is possible, how to know the CLSID and typeLib? 

0 Likes
Accepted solutions (1)
496 Views
1 Reply
Reply (1)
Message 2 of 2

BrianEkins
Mentor
Mentor
Accepted solution

It's not possible.  The Fusion API does not use COM.  COM does provide some nice functionality but it's also limited to Windows and Fusion needs to support both Windows and Mac so it was never considered as an option for the Fusion API.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com