export_cad
Export a Fusion 360 design, component, or occurrence to STEP, IGES, SAT, SMT, F3D, or USDZ using an absolute path whose extension matches the format. Set overwrite to replace an existing file.
Instructions
Export the design, a component or an occurrence to STEP, IGES, SAT, SMT, an F3D archive or USDZ (if this Fusion supports USD).
The path must be absolute, its directory must exist and its extension must match the format; an existing file is replaced only with overwrite=true (the old file is deleted first, so a failed export loses it). Exporting does not save the document (document_save does).
Returns {"files": [{"path", "size_bytes"}], "format", "scope": | "root"}.
Example: export_cad(path="C:/out/housing.step").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path; the extension must match the format | |
| scope | No | Ref of an occurrence or a component (its first occurrence); default: the whole design. Bodies are not allowed (use export_mesh) | |
| format | No | Format; default from the extension (.step/.stp, .iges/.igs, ...) | |
| overwrite | No | Replace an existing file (it is deleted before the export) |