scene method retrieves the scene. If no arguments are given, the current active scene is returned.

 s = cm.scene() # Get active scene

You can retrieve a specific scene by specifying scene ID or name.

 s = cm.scene("Scene 1") # Get scene by name
 s = cm.scene(10) # Get scene by ID

back to index

Last-modified: Tue, 11 Jul 2017 15:41:57 JST (42d)