SetAsSelected (ProjectItem) *

Introduced

6.0

Description

Sets the object as selected (true) or not (false).

Note: This is the Python-compliant version of ProjectItem.Selected. Since Python does not support input parameters on properties, ProjectItem.Selected will fail in Python.

Scripting Syntax

    ProjectItem.SetAsSelected( BranchFlag, Flag )

C# Syntax

    ProjectItem.SetAsSelected( UInt32 newVal, Boolean );

Parameters

Parameter | Type | Description
BranchFlag | siBranchFlag | Specifies whether the object is node-selected or branch-selected. Applies only to objects such as X3DObject and Models that have children. Default Value: siNode
Flag | Boolean | Select or unselect the object. Applies only to objects such as X3DObject and Models that have children.

See Also

SelectObj | Selection

Autodesk Softimage v7.5