Export STEP
export_stepExport the active SolidWorks part or assembly to STEP (.step/.stp) for sharing models with other CAD systems. Supply a full path; existing files are replaced and the open document is unchanged.
Instructions
Export the active document to STEP, like File > Save As with the STEP type.
Use it to hand a model to another CAD system; it is the most widely read
exchange format. SolidWorks picks the format from the file's extension, so end
file_path in .step or .stp. Needs: an open, active part or assembly. Changes:
writes the file, creating its folder and replacing a file already there; the
open document is unchanged. Returns: export with file_path and format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input_data": "<input_data>"
},
"name": "export_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The export. `file_path` (ending in .step or .stp) is required; `format_type` is not needed: the file extension decides the format. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||