Performs a matched boolean on the specified bodies and supports an optional list of faces that match exactly.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IBody2
Dim OperationType As System.Integer
Dim ToolBodyCount As System.Integer
Dim ToolBodyArr As Body2
Dim NumOfMatchingFaces As System.Integer
Dim FaceList1 As Face2
Dim FaceList2 As Face2
Dim MatchingTolerance As System.Double
Dim ErrorCode As System.Integer
Dim value As EnumBodies2
value = instance.IMatchedBoolean4(OperationType, ToolBodyCount, ToolBodyArr, NumOfMatchingFaces, FaceList1, FaceList2, MatchingTolerance, ErrorCode) |
Parameters
- OperationType
One of the following operation types:
-
SWBODYADD
-
SWBODYCUT
-
SWBODYINTERSECT
- ToolBodyCount
Number of bodies
- ToolBodyArr
Array of bodies of size toolBodyCount
- NumOfMatchingFaces
Number of matching faces
- FaceList1
First face list (see Remarks)
- FaceList2
Second face list (see Remarks)
- MatchingTolerance
- Tolerance to use to check matching faces
- ErrorCode
Error indicated as defined in swBodyOperationError_e
Remarks
See Also
Availability
SolidWorks 2008 SP1, Revision Number 16.1