SelectObj

Introduced

1.0

Description

Selects objects, property sets, and other elements using the selection mode specified in the HierarchyLevel parameter.

Note: This command resets the Selection to only those items specified in the SelectionList parameter. If you want to modify the selection, use AddToSelection or RemoveFromSelection.

Scripting Syntax

SelectObj( [SelectionList], [HierarchyLevel], [CheckObjectSelectability] )

Parameters

Parameter

Type

Description

SelectionList

String

List of elements to select.

Default Value: Current selection

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

AddToSelection

RemoveFromSelection

SelectBranch

SelectTree

SelectModel

Dealing with Hierarchy

 

Examples

• See SelectObj.1.vbs



Autodesk Softimage 2011