Selects multiple objects of the specified type that are intersected by a ray from point (x,y,z in meters) in direction vector (x,y,z) within a distance radius.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IMultiSelectByRay( _
ByRef PointIn As Double, _
ByRef VectorIn As Double, _
ByVal RadiusIn As Double, _
ByVal TypeWanted As Integer, _
ByVal Append As Boolean _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim PointIn As Double
Dim VectorIn As Double
Dim RadiusIn As Double
Dim TypeWanted As Integer
Dim Append As Boolean
Dim value As Boolean
value = instance.IMultiSelectByRay(PointIn, VectorIn, RadiusIn, TypeWanted, Append)
|
Parameters
- PointIn
- Array containing 3 doubles that define the start point of the ray
- VectorIn
- Array containing 3 doubles that define the direction of the ray
- RadiusIn
Radius of the ray in meters
- TypeWanted
- Type of objects to select as defined in swSelectType_e
- Append
- True to append the selections to the current selection list, false to not
Return Value
True if an object is selected, false if not
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0