SelectTree
 
 
 

SelectTree

Introduced

v1.0

Description

Tree-selects the currently selected 3D objects. This is the same as calling SelectObj , "TREE".

This selects the root objects in the trees containing the 3D objects. A root is a 3D object that is a direct child of a model, or of the Scene_Root if the objects are not part of a model.

Note: SelectTree does nothing to selected elements that are not 3D objects.

Scripting Syntax

SelectTree( [CheckObjectSelectability] );

Parameters

Parameter Type Description
CheckObjectSelectability Boolean Specifies whether to select objects that marked as unselectable.

Default Value: False

Possible Values:

Description:

False Select objects even if they are marked as unselectable.
True Do not select objects if they are marked as unselectable.

Examples

VBScript Example

' Make sure all objects are tree-selected
SelectTree

See Also

Selection SelectObj AddToSelection RemoveFromSelection SelectBranch SelectModel