sw_delete_body
Removes a body from a SolidWorks model using a reversible Delete/Keep Body feature. Specify the body by a point; the deletion can be undone by deleting the feature.
Instructions
Remove a body with a Delete/Keep Body feature (reversible: delete that feature).
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": {
"body_point": "<body_point>"
},
"name": "sw_delete_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| name | No | Optional name for the new feature. | |
| body_point | Yes | [x, y, z] in model mm |