Represents a collection of all selection sets within the Bexel.Api.Project.
More...
Represents a collection of all selection sets within the Bexel.Api.Project.
◆ Add() [1/2]
Creates a new selection set and adds it to the specified parent's collection.
- Parameters
-
name | Name of the selection set to be added. |
elements | Elements of the selection set to be added. |
description | Description of the selection set to be added. |
parent | Parent folder in which the selection set should be added. If no parent is specified, root folder is assumed. |
- Returns
- Newly created selection set.
- Exceptions
-
◆ Add() [2/2]
SelectionSet Bexel.Api.ProjectSelectionSets.Add |
( |
string |
name, |
|
|
string |
elementQueryExpression, |
|
|
string |
description = "" , |
|
|
SelectionSetFolder |
parent = null |
|
) |
| |
Creates a new selection set and adds it to the specified parent's collection.
- Parameters
-
name | Name of the selection set to be added. |
elementQueryExpression | Query expression to retreive elements. |
description | Description of the selection set to be added. |
parent | Parent folder in which the selection set should be added. If no parent is specified, root folder is assumed. |
- Returns
- Newly created selection set.
- Exceptions
-
◆ AddFolder()
Creates a new selection set folder and adds it to the specified parent's collection.
- Parameters
-
name | Name of the selection set folder to be added. |
description | Description of the selection set folder to be added. |
parent | Parent folder in which the selection set folder should be added. If no parent is specified, root folder is assumed. |
- Returns
- Newly created selection set folder.
- Exceptions
-
◆ GetAllFolders()
Returns a collection of all selection sets folders that are contained within the project.
◆ GetAllSelectionSets()
Returns a collection of all selection sets that are contained within the project.
◆ Remove() [1/2]
void Bexel.Api.ProjectSelectionSets.Remove |
( |
SelectionSet |
selectionSet | ) |
|
Removes the specified selection set from the project.
- Parameters
-
selectionSet | A reference to selection set to be removed. |
- Returns
- True if remove is successful, False if no such selection set exists within collection.
The specified selection set will become invalid API object after removal.
◆ Remove() [2/2]
Removes the specified selection set folder from the project.
- Parameters
-
folder | A reference to selection set folder to be removed. |
- Returns
- True if remove is successful, False if no such selection set folder exists within collection.
The specified selection set folder will become invalid API object after removal.
◆ RemoveRange() [1/2]
Removes the specified selection sets from the project.
- Parameters
-
selectionSets | A reference to selection sets to be removed. |
The specified selection sets will become invalid API objects after removal.
◆ RemoveRange() [2/2]
Removes the specified selection set folders from the project.
- Parameters
-
folders | A reference to selection set folders to be removed. |
The specified selection set folders will become invalid API objects after removal.
◆ Changed
Occurs when selection sets are modified.
◆ Root
Returns the root selection set folder.