Adds a relation to the specified entities in the active sketch.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddRelation( _
ByVal Entities As System.Object, _
ByVal RelationType As System.Integer _
) As SketchRelation |
Visual Basic (Usage) | |
---|
Dim instance As ISketchRelationManager
Dim Entities As System.Object
Dim RelationType As System.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