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 System.Double, _
ByRef VectorIn As System.Double, _
ByVal RadiusIn As System.Double, _
ByVal TypeWanted As System.Integer, _
ByVal Append As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim PointIn As System.Double
Dim VectorIn As System.Double
Dim RadiusIn As System.Double
Dim TypeWanted As System.Integer
Dim Append As System.Boolean
Dim value As System.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