Introduced
1.0
Description
Adds elements to the current selection.
Note: If the SelectionList argument contains an error, the command fails.
Scripting Syntax
AddToSelection( SelectionList, [HierarchyLevel], [CheckObjectSelectability] )
Parameters
|
Parameter |
Type |
Description |
|
SelectionList |
List of elements to add to the selection. Default Value: n/a |
|
|
HierarchyLevel |
Specifies how to select objects in a hierarchy. Default Value: "ASITIS" Possible Values: • ASITIS: Select the object as it is. • NODE: Select the object. • BRANCH: Select the object and its children. • TREE: Select the entire hierarchy of objects. • MODEL: Select the model and the hierarchy of objects. |
|
|
CheckObjectSelectability |
Specifies whether to select objects that marked as unselectable. Default Value: False Possible Values: • False: Select objects even if they are marked as unselectable. • True: Do not select objects if they are marked as unselectable. |
See Also
|
|
|
Examples
• See AddToSelection.1.vbs
• See AddToSelection.2.vbs
Autodesk Softimage 2011