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.
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
Here are the good links:
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-B801DDA8-9A0C-42AD-AC06-F8244CA08D65
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-d5163350-6d2f-11e7-8c44-3417ebc87622
Jérôme Briot, Freelance engineer - Mechanical design and prototyping
3D Print Plus / Pro | IDF Import | GitHub To Fusion 360 | Tube Bending Data Exchanger | Slice Data Export
Memory Used | Basic Calculator | Check Computer Specifications | Import spline from any CSV file
Can't find what you're looking for? Ask the community or share your knowledge.