ProjectItem.SetCapabilityFlag operator




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.

Scripting Syntax

ProjectItem.SetCapabilityFlag( Flag, Enable );


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