Adds a relation to the specified entities in the active sketch.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As ISketchRelationManager
Dim NumEntities As Integer
Dim EntityArray As Object
Dim RelationType As 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