sw_set_variables
Create or update global design variables that drive parametric SolidWorks models, optionally targeting a specific document or the active one.
Instructions
Create or update global variables (the parameters that drive the design).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| variables | Yes | {'span': 1200, 'chord_root': '"span" / 6'} - numbers in mm, strings are expressions. |