Parameter.SetCapabilityFlag operator




Disables or enables any siCapabilities flag set on the Parameter. For convenience some of the most common Capability flags are directly exposed as properties, for example Parameter.ReadOnly.

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

C# Syntax

Parameter.SetCapabilityFlag( Int32 in_Flag, Boolean in_bEnable );

Scripting Syntax

Parameter.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 Parameter.Capabilities Parameter.Show Parameter.Enable Parameter.ReadOnly Parameter.Animatable Parameter.Keyable ProjectItem.Capabilities