Gets the type of object selected.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSelectedObjectType3( _
ByVal Index As Integer, _
ByVal Mark As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISelectionMgr
Dim Index As Integer
Dim Mark As Integer
Dim value As Integer
value = instance.GetSelectedObjectType3(Index, Mark)
|
C# | |
---|
int GetSelectedObjectType3(
int Index,
int Mark
) |
C++/CLI | |
---|
int GetSelectedObjectType3(
& int Index,
& 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
Type of object as defined in
swSelectType_e
Example
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14.0