add_equation
Adds a global variable or equation to a live SolidWorks model and rebuilds it, enabling dimension-driven parametric updates by name.
Instructions
Adds a global variable or an equation and rebuilds. Names go in double quotes, e.g. '"width" = 80' (global variable), '"D1@Boss-Extrude1" = "width" / 2' (drives a dimension). Numbers without units take the document units.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |