Convert Fusion 360 Python script to Inventor?

Convert Fusion 360 Python script to Inventor?

Anonymous
Not applicable
620 Views
1 Reply
Message 1 of 2

Convert Fusion 360 Python script to Inventor?

Anonymous
Not applicable
If I have an existing Python script that runs inside of Fusion 360, can it be converted to also run within Inventor? Or do I basically have to build new? Thanks, Mark
0 Likes
621 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk

You can access Inventor API using Python, but I am not clear about what you mean the 'convert' from Fusion to Inventor, they are two different applications, if you mean to convert the Python functions that work in Fusion to work in Inventor(e.g. to model similar data), you should have to do a lot change to make it work for Inventor(i.e. from Fusion APIs to Inventor APIs). 

 

Another thing is Inventor does not have an embedded code editor to run Python code at present, it has the embedded code editor to run VBA or iLogic rules, so you can convert your Python code to VBA or iLogic(like VB.net code style) if you want to run it within Inventor. Or you can just run the converted Python code in its own code editor as an out-of-process to call Inventor APIs.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes