disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

ControlState

What controls the value of a sequenced field

States are ordered by priority: a higher value overrides every lower one.

Nested in: FieldSequence

Variables

Self = 0

The field’s own sequence values are used

Sockpuppet = 1

The field is controlled by a sockpuppet

Expression = 2

The field is controlled by an expression

Look = 3

The field is controlled by a look

Hidden = 4

The field is hidden and does not control the layer

Disconnected = 5

The field is disconnected from its layer

Constructors

__init__(self)

__init__(self, arg0: FieldSequence.ControlState)

Methods

toString(self) -> str

The name of this enumerator, or an empty string if its value is not a named enumerator

Static Methods

fromInt(arg0: int) -> FieldSequence.ControlState

The enumerator with the given integer value, which need not be one of the named enumerators

Special Methods

__index__(self) -> int

The integer value of this enumerator, for use as a list index

__int__(self) -> int

The integer value of this enumerator

__repr__(self) -> str

The enum and enumerator names, as ; str() and print give the same

__lt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__le__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__gt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__ge__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError