v6.0
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.
ProjectItem.SetAsSelected( UInt32 newVal, Boolean ); |
ProjectItem.SetAsSelected( BranchFlag, Flag ); |
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. |