BlendDataActions(bpy_struct)Âķ
base class â bpy_struct
- class bpy.types.BlendDataActions(bpy_struct)Âķ
Collection of actions
- new(name)Âķ
Add a new action to the main database
- Parameters:
name (string, (never None)) â New name for the data-block
- Returns:
New action data-block
- Return type:
- remove(action, *, do_unlink=True, do_id_user=True, do_ui_user=True)Âķ
Remove an action from the current blendfile
- Parameters:
action (
Action, (never None)) â Action to removedo_unlink (boolean, (optional)) â Unlink all usages of this action before deleting it
do_id_user (boolean, (optional)) â Decrement user counter of all datablocks used by this action
do_ui_user (boolean, (optional)) â Make sure interface does not reference this action
- tag(value)Âķ
tag
- Parameters:
value (boolean) â Value
- 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.Structsubclass
- 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