Complete the code to apply a horizontal relation between two points.
AddRelation(point1, point2, RelationType.[1]);The Horizontal relation aligns two points horizontally in SolidWorks sketches.
Complete the code to set a vertical relation between two sketch entities.
SetRelation(entityA, entityB, RelationType.[1]);The Vertical relation aligns entities along the Y-axis in SolidWorks sketches.
Fix the error in the code to apply a coincident relation between a point and a line.
ApplyRelation(point, line, RelationType.[1]);The Coincident relation attaches a point directly onto a line or another point.
Fill both blanks to apply a tangent relation between a circle and a line.
CreateRelation(circle, line, RelationType.[1]); // Then confirm with [2]()
The Tangent relation makes the circle and line touch at exactly one point. Use Confirm() to finalize the relation.
Fill all three blanks to create a coincident relation and then update the sketch.
relation = AddRelation(entity1, entity2, RelationType.[1]); sketch.[2](); sketch.[3]();
First, add a Coincident relation. Then Rebuild() and Update() refresh the sketch to apply changes.