catia_create_formula
Drive a parameter from a units-aware CATIA expression so feature dimensions update automatically when other parameters change.
Instructions
Drive one parameter from an expression involving others. The expression is CATIA Knowledge syntax and must carry units, for example 'Width * 2 + 5mm'. Feature dimensions can be the target, so this is how you make a model self-adjusting.
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": {
"target_parameter": "<target_parameter>",
"expression": "<expression>"
},
"name": "catia_create_formula"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the formula. | |
| comment | No | Optional description. | |
| expression | Yes | CATIA Knowledge expression, with units: 'Width * 2 + 5mm'. | |
| target_parameter | Yes | Exact name of the parameter to drive, e.g. 'Pad.1\FirstLimit\Length'. |