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.
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'. |