disguise developers

Python API

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

LayerColourRuleSet

Properties

layerColourRules : List[LayerColourRule]

Methods

getColourInfo(self, layer: Layer) -> LayerColourInfo

Get the colour info for a particular layer.

Parameters:

Returns The colour info for the layer, calculated from the layer colour rules