disguise developers

Python API

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

LayerColourRule

Properties

Colour : Colour

Comparison : int

Options: {0: ‘Contains’, 1: ‘Equals’, 2: ’>’, 3: ’<’, 4: ’>=’, 5: ’<=‘}

Enabled : bool

Key : int

Options: {0: ‘Name’, 1: ‘Property’, 2: ‘Type’, 3: ‘Category’}

Property : str

Value : str

Variables

TestCategory : Final[int] = 3

TestName : Final[int] = 0

TestProperty : Final[int] = 1

TestType : Final[int] = 2

Methods

isValid(self) -> bool