Box selects all of the entities in a sketch within the specified coordinates of the selection box.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SketchBoxSelect( _
ByVal FirstPtX As System.Double, _
ByVal FirstPtY As System.Double, _
ByVal FirstPtZ As System.Double, _
ByVal SecondPtX As System.Double, _
ByVal SecondPtY As System.Double, _
ByVal SecondPtZ As System.Double _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim FirstPtX As System.Double
Dim FirstPtY As System.Double
Dim FirstPtZ As System.Double
Dim SecondPtX As System.Double
Dim SecondPtY As System.Double
Dim SecondPtZ As System.Double
Dim value As System.Boolean
value = instance.SketchBoxSelect(FirstPtX, FirstPtY, FirstPtZ, SecondPtX, SecondPtY, SecondPtZ) |
Parameters
- FirstPtX
- x coordinate of the first corner of the box
- FirstPtY
- y coordinate of the first corner of the box
- FirstPtZ
- z coordinate of the first corner of the box
- SecondPtX
- x coordinate of the opposite diagonal corner of the box
- SecondPtY
- y coordinate of the opposite diagonal corner of the box
- SecondPtZ
- z coordinate of the opposite diagonal corner of the box
Return Value
True if the sketch entities lying in the specified coordinates are box-selected, false if not
Example
See Also
Availability
SOLIDWORKS 2010 FCS, Revision Number 18.0