Query Regarding Fusion 360 API: File Extensions for 2D Drawings and Handling Linked Files in Export Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Autodesk Community,
I hope this message finds you well. I am reaching out with a query regarding the Fusion 360 API, particularly related to file extensions for 2D drawings and handling linked files during export.
In the Project Archiver - Mass Export script developed by Patrick Rainsberry, the Fusion 360 API reference manual (https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-7B5A90C8-E94C-48DA-B16B-430729B734DC) is extensively utilized. However, during my exploration of the manual, I was unable to locate any information about file extensions for 2D drawings generated from Fusion 360 parts and assemblies.
In the provided script, different file types for export are defined with the following line of code:
export_extensions = ['.igs', '.step', '.sat', '.smt', '.f3d', '.stl']
Additionally, I am experiencing an issue with the script when dealing with files containing parts linked to other files. I am seeking guidance on whether there is a method to bypass this issue, allowing the export of files with linked components seamlessly. This scenario also extends to drawing files linked to their original part files.
Concerning the export of drawing files, we are open to DXF or DWG formats, although Fusion 360 lacks a dedicated file extension for drawing files. While the Fusion 360 drawing workspace offers this functionality, I have been unable to find a corresponding API documentation section detailing how to access the export to DWG/DXF feature programmatically.
I would greatly appreciate any insights or assistance from the community or Autodesk support in addressing these concerns.
Thank you in advance for your time and assistance.
Rafael Ong Yiu Engineering Design & Additive Manufacturing Assistant