ProjectItem.IsSelected operator

Introduced

v6.0

Description

Returns or sets a Boolean value indicating whether the object is 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.

C# Syntax

Boolean ProjectItem.IsSelected( UInt32 newVal );

Scripting Syntax

ProjectItem.IsSelected( [BranchFlag] );

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

See Also

SelectObj Selection