catia_rename_body
Rename a body in CATIA V5 Part.Bodies via its Name COM property; pass new_name and optional old_name, or omit old_name to rename the last body created.
Instructions
Rename a Body (in Part.Bodies) via the .Name COM property.
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": {
"new_name": "<new_name>"
},
"name": "catia_rename_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New descriptive name. | |
| old_name | No | Current body name, e.g. 'Body.2'. If omitted, renames the last body created. |