Adds a mate to the feature.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IAddMate( _
ByVal Nsize As Integer, _
ByRef MateEntArr As Object, _
ByVal As Integer, _
ByVal As Integer, _
ByVal Distance As Double, _
ByVal Angle As Double, _
ByRef ErrorStatus As Integer _
) As Mate2 |
Visual Basic (Usage) | |
---|
Dim instance As IMoveCopyBodyFeatureData
Dim Nsize As Integer
Dim MateEntArr As Object
Dim MateTypeFromEnum As Integer
Dim AlignFromEnum As Integer
Dim Distance As Double
Dim Angle As Double
Dim ErrorStatus As Integer
Dim value As Mate2
value = instance.IAddMate(Nsize, MateEntArr, MateTypeFromEnum, AlignFromEnum, Distance, Angle, ErrorStatus)
|
Parameters
- Nsize
- Number of entities to use to create a mate
- MateEntArr
- Array of entities to sue to create a mate
- MateTypeFromEnum
- Type of mate as defined in swMateType_e
- AlignFromEnum
- Type of alignment as defined in swMateAlign_e
- Distance
- Distance to use with distance or limit mates
- Angle
- Angle to use with angle mates
- ErrorStatus
- Success or error as defined by swAddMateError_e
Return Value
Mate
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14.0