0
0
Solidworksbi_tool~10 mins

Geometric relations (horizontal, vertical, coincident, tangent) in Solidworks - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to apply a horizontal relation between two points.

Solidworks
AddRelation(point1, point2, RelationType.[1]);
Drag options to blanks, or click blank then click option'
AVertical
BHorizontal
CCoincident
DTangent
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Vertical instead of Horizontal
Confusing Coincident with Horizontal
2fill in blank
medium

Complete the code to set a vertical relation between two sketch entities.

Solidworks
SetRelation(entityA, entityB, RelationType.[1]);
Drag options to blanks, or click blank then click option'
ACoincident
BTangent
CHorizontal
DVertical
Attempts:
3 left
💡 Hint
Common Mistakes
Using Horizontal instead of Vertical
Mixing Tangent with Vertical
3fill in blank
hard

Fix the error in the code to apply a coincident relation between a point and a line.

Solidworks
ApplyRelation(point, line, RelationType.[1]);
Drag options to blanks, or click blank then click option'
ACoincident
BTangent
CHorizontal
DVertical
Attempts:
3 left
💡 Hint
Common Mistakes
Using Tangent instead of Coincident
Choosing Horizontal or Vertical incorrectly
4fill in blank
hard

Fill both blanks to apply a tangent relation between a circle and a line.

Solidworks
CreateRelation(circle, line, RelationType.[1]); // Then confirm with [2]()
Drag options to blanks, or click blank then click option'
ATangent
BApply
CConfirm
DCoincident
Attempts:
3 left
💡 Hint
Common Mistakes
Using Coincident instead of Tangent
Using Apply() instead of Confirm()
5fill in blank
hard

Fill all three blanks to create a coincident relation and then update the sketch.

Solidworks
relation = AddRelation(entity1, entity2, RelationType.[1]);
sketch.[2]();
sketch.[3]();
Drag options to blanks, or click blank then click option'
ACoincident
BRebuild
CUpdate
DTangent
Attempts:
3 left
💡 Hint
Common Mistakes
Using Tangent instead of Coincident
Skipping Rebuild or Update calls