Combines the specified bodies in the multibody part to create a combine feature.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertCombineFeature( _
ByVal OperationType As System.Integer, _
ByVal MainBody As Body2, _
ByVal ToolVar As System.Object _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim OperationType As System.Integer
Dim MainBody As Body2
Dim ToolVar As System.Object
Dim value As Feature
value = instance.InsertCombineFeature(OperationType, MainBody, ToolVar) |
Parameters
- OperationType
Operation as defined in swBodyOperationType_e
- MainBody
-
If OperationType is ... |
Then set MainBody to ... |
swBodyOperationType_e.SWBODYADD |
Nothing or null |
swBodyOperationType_e.SWBODYCUT |
Target body |
swBodyOperationType_e.SWBODYINTERSECT |
Nothing or null |
(See Remarks)
- ToolVar
- Array of bodies to combine (see Remarks)
Return Value
IFeature
Example
Remarks
See Also
Availability
SOLIDWORKS 2003 FCS, Revision Number 11.0