ProjectItem.SetCapabilityFlag operator

Introduced

v4.0

Description

Disables or enables any siCapabilities flag set on the object.

For example, an object can be hidden from the Scene Explorer by setting the siNotInspectable flag. However, when used on parameters, the siNotInspectable flag should only be used for parameters on a CustomProperty or on an FXTree Node.

Changing the capability flags only affects one particular instance of the object.

C# Syntax

ProjectItem.SetCapabilityFlag( Int32 in_Flag, Boolean in_bEnable );

Scripting Syntax

ProjectItem.SetCapabilityFlag( Flag, Enable );

Parameters

Parameter Type Description
Flag siCapabilities Specify the flag to change
Enable Boolean When true the Capability will be set, when false the Capability will be removed

See Also

siCapabilities ProjectItem.Capabilities Parameter.SetCapabilityFlag ToggleVisibility