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: 

Need api export step

3 REPLIES 3
Reply
Message 1 of 4
nubrandao
419 Views, 3 Replies

Need api export step

Hi, i use most Fusion has CAD for helping on powermill, usually i creat surfaces and export them in step files and the import in powermill.

 

The problem is to booring to search all the time the folder and white the bane. 

 

I was wondering if on fusion a script when Run, could export selected (or choose) for a specific folder (c:\CADFiles) and Open a box to choose a name file and export to .step file.

 

In powermill i have set a macro to import files from specific folder.

3 REPLIES 3
Message 2 of 4
BrianEkins
in reply to: nubrandao

That's certainly possible. Here are a couple of samples to help get you started.

 

This sample demonstrates using the API to export a STEP file.

https://help-staging.autodesk.com/view/fusion360/ENU/?guid=GUID-B801DDA8-9A0C-42AD-AC06-F8244CA08D65

 

This sample demonstrates displaying a dialog to have the user select a file. There isn't a sample, but a similar API exists for selecting a folder.

https://help-staging.autodesk.com/view/fusion360/ENU/?guid=GUID-d5163350-6d2f-11e7-8c44-3417ebc87622

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 4
nubrandao
in reply to: nubrandao

the links dont work my computer, strange, does not open the page

 

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

Post to forums  

Autodesk Design & Make Report