Selects multiple objects and returns the number of objects selected in the model.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function MultiSelect2( _
ByVal Objects As System.Object, _
ByVal AppendFlag As System.Boolean, _
ByVal Data As System.Object _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Objects As System.Object
Dim AppendFlag As System.Boolean
Dim Data As System.Object
Dim value As System.Integer
value = instance.MultiSelect2(Objects, AppendFlag, Data) |
C++/CLI | |
---|
System.int MultiSelect2(
& System.Object^ Objects,
& System.bool AppendFlag,
& System.Object^ Data
) |
Parameters
- Objects
- Array of selectable objects:
-
can be the same type of objects (e.g., an array of faces or an array of edges) or different types of objects (e.g., an array of entities of faces and edges )
-
if an object is not selected, then it is ignored
- AppendFlag
- True to append the objects to the selection list, false to replace the current selection list with these objects
- Data
- ISelectData object, Nothing, or null
Return Value
Number of objects selected in the model
Example
Remarks
See Also
Availability
SoidWorks 2012 SP04, Revision Number 20.4