disguise developers

Python API

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

Expression

Properties

auto_switch : int

error : str (Read-Only)

expression : str

The string defining the expression

expressionString : str

UserName: =

isDisabled : bool

When true, owners should skip evaluating this expression

isOK : bool (Read-Only)

isSelf : bool (Read-Only)

Methods

reset(self)

setDisabled(self, disable: bool)

Enable or disable this expression. When disabled, owners skip evaluation; the formula is preserved.

Static Methods

cleanName(name: str) -> str

evaluateFromString(expressionStr: string_view) -> ReflectionValue