Adds a relation to the specified entities in the active sketch.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IAddRelation( _
ByVal NumEntities As System.Integer, _
ByRef EntityArray As System.Object, _
ByVal RelationType As System.Integer _
) As SketchRelation |
Visual Basic (Usage) | |
---|
Dim instance As ISketchRelationManager
Dim NumEntities As System.Integer
Dim EntityArray As System.Object
Dim RelationType As System.Integer
Dim value As SketchRelation
value = instance.IAddRelation(NumEntities, EntityArray, RelationType) |
Parameters
- NumEntities
- Number of entities to which to add the relation
- EntityArray
- Array of entities to which to 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