Need api export step

nubrandao
Collaborator

Need api export step

nubrandao
Collaborator
Collaborator

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.

0 Likes
Reply
421 Views
3 Replies
Replies (3)

BrianEkins
Mentor
Mentor

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
0 Likes

nubrandao
Collaborator
Collaborator

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

 

0 Likes