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 MultiSelectByRay( _
ByVal DoubleInfoIn As System.Object, _
ByVal TypeWanted As System.Integer, _
ByVal Append As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim DoubleInfoIn As System.Object
Dim TypeWanted As System.Integer
Dim Append As System.Boolean
Dim value As System.Boolean
value = instance.MultiSelectByRay(DoubleInfoIn, TypeWanted, Append) |
Parameters
- DoubleInfoIn
- Array of 7 doubles:3 for the start point of the ray, 3 for the direction of the ray, and 1 for the radius
- 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