Gets the number of selected objects.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetSelectedObjectCount2( _
ByVal Mark As System.Integer _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ISelectionMgr
Dim Mark As System.Integer
Dim value As System.Integer
value = instance.GetSelectedObjectCount2(Mark) |
C# | |
---|
System.int GetSelectedObjectCount2(
System.int Mark
) |
C++/CLI | |
---|
System.int GetSelectedObjectCount2(
& System.int Mark
) |
Parameters
- 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
Number of selected objects
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0