Add items to current selection
Returns duplicated Selection
Copy selected item and folders to specific scene or folder
For sources duplication use .copyTo()
method.
Deselect items
Returns a minimal bounding rectangle for selected items.
Returns all selected scene folders
Returns the list of selected folders and items ids
Returns the inverted selection. The current object will not be changed.
To change the current object use .invert()
Returns the inverted list of selected folders and items ids
Returns all selected scene items
Returns the last item or folder added to selection
Returns the id of the last item or folder added to selection
returns serializable representation of selection
Returns a minimal representation of selection for selection list like this:
Folder1 <- selected |_ Item1 <- selected _ Folder2 <- selected Item3 <- selected Folder3 |_ Item3 _ Item4 <- selected
returns Folder1, Item3, Item4
Returns the selection size
Returns the linked to selection sources
A visual item is visible in the editor and not locked
Invert current selection.
If you need to get an inverted selection without changing the current object use .getInverted()
returns true if selection contains only one SceneFolder
returns true if selection contains only one SceneItem
Check the node is selected
Do the same as .copyTo()
and remove copied items
Bulk version of SceneNodeApi.placeAfter()
Bulk version of SceneNodeApi.placeBefore()
Reset current selection
Select items. Previous selected items will be unselected
Select the all items from the scene
only for scene sources
Bulk version of SceneNodeApi.setParent()
Allows call bulk actions with scene items and folders. Selection can contain items only for one scene.
Scene.getSelection() to fetch a new selection object
SelectionService to make items active