add |
Adds the entity to the set of currently selected entities. The user will see the entity become selected in the user interface. |
asArray |
Returns an array containing all of the current selections. This is useful in cases where you need to iterate over the set of selected entities but need to create or edit data as you process each one. Selections are fragile and creation and edit operations will clear the selections so you won't have access to the complete list after processing the first one. |
classType |
Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType(). |
clear |
Clears the selection set so no entities are currently selected. |
item |
Returns the specified selection using an index into the collection. |
removeByEntity |
Removes the selections that are associated with the specified entity from the set of selected entities. |
removeByIndex |
Removes an item from the set of selected entities. |
removeBySelection |
Removes the specified selection from the set of selected entities. |