Creates a new vertical constraint on a line.
"geometricConstraints_var" is a variable referencing a GeometricConstraints object. |
"geometricConstraints_var" is a variable referencing a GeometricConstraints object. |
"geometricConstraints_var" is a variable referencing a GeometricConstraints object. |
| Type | Description |
| VerticalConstraint | Returns the newly created VerticalConstraint object or null if the creation failed. |
| Name | Type | Description |
| line | SketchLine | The line to constrain vertically. |
| Name | Description |
| API Sample that demonstrates creating sketch lines in various ways. | Demonstrates several ways to create sketch lines, including as the result of creating a rectangle. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |