disguise developers

Python API

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

LayerColourRule

Nested Classes

Properties

Colour : Colour

Comparison : int

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

Enabled : bool

Key : int

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

Property : str

Value : str

Variables

TestCategory : Final[LayerColourRule.Test] = LayerColourRule.Test.Category

TestName : Final[LayerColourRule.Test] = LayerColourRule.Test.Name

TestProperty : Final[LayerColourRule.Test] = LayerColourRule.Test.Property

TestType : Final[LayerColourRule.Test] = LayerColourRule.Test.Type

Methods

isValid(self) -> bool