add_sketch_relation
Adds a geometric relation such as horizontal, coincident, or tangent between entities in the open SolidWorks sketch, using coordinate points to identify each entity.
Instructions
Adds a geometric relation between sketch entities of the open sketch.
points: [[x, y], ...] one point (sketch coordinates) on each entity involved. vertex: optional, one flag per point; true picks the sketch POINT there (an end point or centre) instead of the line/arc, as needed by coincident and midpoint (point first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| vertex | No | ||
| relation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |