Adds a relation to the specified entities in the active sketch.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddRelation( _
ByVal Entities As Object, _
ByVal RelationType As Integer _
) As SketchRelation |
Visual Basic (Usage) | |
---|
Dim instance As ISketchRelationManager
Dim Entities As Object
Dim RelationType As Integer
Dim value As SketchRelation
value = instance.AddRelation(Entities, RelationType)
|
Parameters
- Entities
- Array of entities to which add the relation
- RelationType
- Type of relation as defined by swConstraintType_e
Return Value
Sketch relation
Remarks
See Also
Availability
SolidWorks 2004 FCS, Revision Number 12.0