timeline_set_model_parameter
Sets a feature-created model parameter by name to a numeric value or Fusion expression, reverting automatically if a feature errors unless errors are allowed.
Instructions
Set the expression of a model parameter (one created by a feature) by name.
If the owning feature (or any other) falls into the error state, the old expression is restored and the call fails with the feature's message and details.reverted = true, unless allow_errors=true. User parameters are changed with parameter_update.
Returns {"parameter": {"name", "expression", "old_expression", "value", "value_unit", "unit"}, "feature": item | null}.
Example: timeline_set_model_parameter(name="d3", value=30) -> "30 mm".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Model parameter name ('d3') | |
| units | No | Unit of plain length numbers | mm |
| value | Yes | Number (mm or `units` for lengths, degrees for angles, as is for unitless) or a Fusion expression | |
| allow_errors | No | Keep the change even if a feature falls into the error state (default: revert and fail) |