Gets the selected point in model space coordinates from the currently selected object.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IGetSelectionPoint2( _
ByVal Index As System.Integer, _
ByVal Mark As System.Integer _
) As System.Double |
Visual Basic (Usage) | |
---|
Dim instance As ISelectionMgr
Dim Index As System.Integer
Dim Mark As System.Integer
Dim value As System.Double
value = instance.IGetSelectionPoint2(Index, Mark) |
C# | |
---|
System.double IGetSelectionPoint2(
System.int Index,
System.int Mark
) |
C++/CLI | |
---|
System.double IGetSelectionPoint2(
& System.int Index,
& System.int Mark
) |
Parameters
- Index
Index position with in the current list of selected items, where AtIndex ranges from 1 to ISelectionMgr::GetSelectedObjectCount2 (see Remarks)
- Mark
- -1 = All selections regardless of marks
-
0 = only the selections without marks
-
Any other value = Value that was used to mark and select an object
Return Value
Array of 3 doubles (x,y,z)
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0