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: 

Is it possible to export an assembly via API?

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
michelmarroche
760 Views, 3 Replies

Is it possible to export an assembly via API?

I am working on a couple of scripts to download and upload projects from cloud to local.

 

I have already managed to download the projects with their structure and upload them again while maintaining their structure.

 

Now I am trying to export the designs that have assemblies, I can only do it manually from Export, and this creates a local ".f3z" file .. but I can't find how to do this from within a script ..

 

Will it be possible?

 

Thank you !

3 REPLIES 3
Message 2 of 4
kandennti
in reply to: michelmarroche

Hi @michelmarroche .

 

I found a way to export in the same way as the GUI.

    app.executeTextCommand(u'data.fileExport f3z')

https://github.com/kantoku-code/Fusion360_Small_Tools_for_Developers/blob/master/TextCommands/TextCo... 

 

It takes a lot of time because it is the same as GUI.

Message 3 of 4
michelmarroche
in reply to: kandennti

Hi @kandennti thank you very much !

 

I will try it!

 

If it takes a while but allows the assemblies to be properly backed up, it will work!

 

 

Message 4 of 4
kandennti
in reply to: michelmarroche

@michelmarroche .

 

I didn't notice it when I wrote it, but I received a lot of emails ...

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