Gets the selected object.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSelectedObject6( _
ByVal Index As Integer, _
ByVal Mark As Integer _
) As Object |
Visual Basic (Usage) | |
---|
Dim instance As ISelectionMgr
Dim Index As Integer
Dim Mark As Integer
Dim value As Object
value = instance.GetSelectedObject6(Index, Mark)
|
C# | |
---|
object GetSelectedObject6(
int Index,
int Mark
) |
C++/CLI | |
---|
Object^ GetSelectedObject6(
& int Index,
& int Mark
) |
Parameters
- Index
- Index position within the current list of selected items, where Index 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
Selected object as defined in
swSelectType_e; Nothing or NULL may be returned if type is not supported or if nothing is selected
Example
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14.0