Performs add, cut, and intersect (unite, subtract, and interfere) operations between two temporary bodies.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IOperations2( _
ByVal OperationType As Integer, _
ByVal ToolBody As Body2, _
ByRef ErrorCode As Integer _
) As EnumBodies2 |
Visual Basic (Usage) | |
---|
Dim instance As IBody2
Dim OperationType As Integer
Dim ToolBody As Body2
Dim ErrorCode As Integer
Dim value As EnumBodies2
value = instance.IOperations2(OperationType, ToolBody, ErrorCode)
|
Parameters
- OperationType
One of the following operation types:
- ToolBody
Pointer to the tool body
- ErrorCode
Error indicator as defined in swBodyOperationError_e; returns swBodyOperationNoError if SolidWorks does not generate an error
Return Value
Resulting bodies enumeration
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0