Inserts a surface-cut feature using the preselected surface or plane.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertCutSurface( _
ByVal Flip As System.Boolean, _
ByVal KeepPieceIndex As System.Integer, _
ByVal UseFeatScope As System.Boolean, _
ByVal UseAutoSelect As System.Boolean, _
ByVal Bodies As System.Object, _
ByRef Error As System.Integer _
) As Feature |
Visual Basic (Usage) | |
---|
Dim instance As IFeatureManager
Dim Flip As System.Boolean
Dim KeepPieceIndex As System.Integer
Dim UseFeatScope As System.Boolean
Dim UseAutoSelect As System.Boolean
Dim Bodies As System.Object
Dim Error As System.Integer
Dim value As Feature
value = instance.InsertCutSurface(Flip, KeepPieceIndex, UseFeatScope, UseAutoSelect, Bodies, Error) |
Parameters
- Flip
- True to flip the direction of the cut, false to not
- KeepPieceIndex
- Piece to keep if there is ambiguity (see Remarks)
- UseFeatScope
- True to cut only the bodies passed to Bodies that intersect with the cut, false to cut all bodies that intersect with the cut
- UseAutoSelect
- True to automatically cut all bodies that intersect with the cut, false to cut only the bodies passed to Bodies that intersect with the cut
- Bodies
- Array of specific bodies that intersect with the cut
- UseFeatScope = true
- UseAutoSelect = false
- or -
- Empty array indicating to cut all bodies that intersect with the cut
- UseFeatScope = false
- UseAutoSelect = true
- Error
- Status of the cut as defined in swSurfaceCutFeatureError_e
Return Value
Surface-cut
feature
Example
Remarks
See Also
Availability
SOLIDWORKS 2013 SP1, Revision Number 21.1