sw_add_equation
Drive a SolidWorks dimension using an expression of global variables or other dimensions to create parametric relationships and control model geometry.
Instructions
Drive a dimension with an expression of global variables / other dimensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | No | Document title or path. Defaults to the active document. | |
| dimension | Yes | Dimension to drive, e.g. 'D1@Boss-Extrude1'. | |
| expression | Yes | e.g. '"span" / 2' or '"wall" * 2 + 3'. Quote names. |