Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Launching Autodesk Fusion using COM Objects

1 REPLY 1
SOLVED
Reply
Message 1 of 2
s3778243
164 Views, 1 Reply

Launching Autodesk Fusion using COM Objects

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? 

1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: s3778243

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report