SetCapabilityFlag (Parameter) *

Introduced

4.0

Description

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.

Scripting Syntax

    Parameter.SetCapabilityFlag( Flag, Enable )

C# Syntax

    Parameter.SetCapabilityFlag( Int32 in_Flag, Boolean in_bEnable );

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

Autodesk Softimage v7.5