timeline_edit_extrude
Change an existing extrude feature's distance, two-sided distance, or taper angle in Fusion 360, with automatic revert if the edit causes an error.
Instructions
Change an existing extrude: distance (only distance extents, not to-object/ through-all), distance_two (two-sided extrudes) and taper_angle (degrees).
Example: timeline_edit_extrude(feature=, distance=30).
Returns {"feature": item, "changed": [{"key", "parameter", "old_expression", "new_expression", "value", "value_unit"}]} (values in mm / deg). All given keys are applied together; if the feature (or any other) falls into the error state everything is reverted and the call fails with FUSION_API_ERROR, details.reverted = true — unless allow_errors=true. A key that does not apply to this feature fails with INVALID_PARAMS and details.available_keys; no key at all fails with 'nothing to change'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit of plain length numbers | mm |
| feature | Yes | Feature ref from timeline_list (or 'timeline:<name>') | |
| distance | No | Number in mm (or `units`), or a Fusion expression ('30 mm', 'width / 2') | |
| taper_angle | No | Number in degrees, or a Fusion expression ('15 deg', 'a / 2') | |
| allow_errors | No | Keep the change even if a feature falls into the error state (default: revert and fail) | |
| distance_two | No | Second side of a two-sided extrude: mm (or `units`) or expression |