AddToSelection

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

String

List of elements to add to the selection.

Default Value: n/a

HierarchyLevel

String

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

Boolean

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

Selection

SelectObj

RemoveFromSelection

SelectBranch

SelectTree

SelectModel

 

 

Examples

• See AddToSelection.1.vbs

• See AddToSelection.2.vbs



Autodesk Softimage 2011