MainScenes(bpy_struct)

base class — bpy_struct

class bpy.types.MainScenes(bpy_struct)

Collection of scenes

new(name)

Add a new scene to the main database

Parameters:
  • name (string) – New name for the datablock.
Returns:

New scene datablock.

Return type:

Scene

remove(scene)

Remove a scene from the current blendfile.

Parameters:
  • scene (Scene, (never None)) – Scene to remove.

Inherited Properties

Inherited Functions

References

Previous topic

MainParticles(bpy_struct)

Next topic

MainTexts(bpy_struct)