ActionLayers(bpy_struct)

base class — bpy_struct

class bpy.types.ActionLayers(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 Action

Returns:

Newly created animation layer

Return type:

ActionLayer

remove(anim_layer)

Remove the layer from the animation

Parameters:

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

classmethod bl_rna_get_subclass(id, default=None)
Parameters:

id (str) – 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 (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References