sw_export_active
Export the active SolidWorks document to STEP, STL, IGES, Parasolid, PDF, DXF, DWG, or PNG. Optionally set a save-as name to control the exported file.
Instructions
Export the active SolidWorks document to STEP, STL, IGES, Parasolid, PDF, DXF, DWG or PNG.
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": {
"format": "<format>"
},
"name": "sw_export_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| save_as_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |