set_equation
Add a persistent global equation to link dimensions, rebuild the model, and return updated mass properties.
Instructions
Add a global equation linking dimensions, then rebuild and remeasure.
A SolidWorks equation string, e.g. '"D1@BlockExtrude" = 25' or '"D1@BlockExtrude" = 2 * "D1@Sketch1"'. A global variable is '"W" = 40'; link a dimension to it with '"width@Sketch1" = "W"'. Persists a relation (unlike set_dimension). Returns mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| equation | Yes |