rocslope2.boltProperties.BoltProperties module#

class BoltProperties(client: Client, project_id: str, object_id: str)#

Bases: _ProxyObject

Examples: Code Snippet: Bolt Properties

getName() → str#
setName(value: str) → None#
setCurrentSupportType(support_type: BoltType) → Bolt#

Switches the bolt type and returns the type-specific Bolt object for further configuration.

Examples: Code Snippet: Bolt Properties

getCurrentSupportType() → Bolt#
getColor() → tuple[int, int, int, int]#
setColor(*args) → None#

Accepts a ColorType enum, hex string (e.g. “#FF0000”), integer color value, or separate R, G, B [, A] integers.

Examples: Code Snippet: Bolt Properties