AnimationLayers(bpy_struct)#

base class — bpy_struct

class bpy.types.AnimationLayers(bpy_struct)#

Collection of animation layers

new(name)#

Add a layer to the Animation. Currently an Animation can only have at most one layer

Parameters:

name (string, (never None)) – Name, Name of the layer, will be made unique within the Animation data-block

Returns:

Newly created animation layer

Return type:

AnimationLayer

remove(anim_layer)#

Remove the layer from the animation

Parameters:

anim_layer (AnimationLayer) – Animation Layer, The layer to remove

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#