export_step
Export the active SOLIDWORKS part or assembly to a STEP file for other CAD programs, using AP214 to keep colors or AP203 without them; reports file size and body/component counts.
Instructions
Export the active part or assembly as a STEP file (.step / .stp) for other CAD programs. protocol AP214 (the default) keeps colours; AP203 does not. The document is not saved, renamed or changed. Reports the file size and how many solid bodies and components the file holds.
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": {
"filepath": "<filepath>"
},
"name": "export_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Where to write it, e.g. C:\Work\door.step | |
| protocol | No | STEP application protocol | AP214 |