sketch_dimension_set
Updates existing sketch dimensions' values, expressions, driven state, or parameter names atomically, reverting all prior changes if any single update fails.
Instructions
Change existing dimensions: value/expression, driven state or parameter name. All or nothing: if any update fails the earlier ones get their previous values back.
value: number = mm/degrees, string = expression. Changing a dimension re-solves the
sketch; profile refs taken before stay usable for moderate changes (re-read with
sketch_profiles(contains=...) if a feature reports ENTITY_NOT_FOUND).
Returns {"dimensions": [...as in sketch_dimension], "status", "profiles"}.
Example: sketch_dimension_set(sketch=, updates=[{"dimension": , "value": "plate_w + 10"}]).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sketch | Yes | Sketch ref (from sketch_create) | |
| updates | Yes | ||
| return_profiles | No | Add the current profiles to the result (false = faster) |