Skip to content

Scene Module

Amadeusz Zackiewicz edited this page Oct 29, 2022 · 2 revisions

create

Create a new scene.

Argument Type Description
bucket Bucket
name str Name of the scene. Defaults to None
nodes list[int] List of node IDs to append

Returns: int ID of the scene.

append_node

Append node to the scene.

Argument Type Description
bucket Bucket
sceneIDs list[int] or int IDs of the scenes
nodeIDs list[int] or int IDs of nodes to append

set_default

Select the scene that will be shown by first in most programs.

Argument Type Description
bucket Bucket
sceneID int ID of the scene