BlendDataSounds(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.BlendDataSounds(bpy_prop_collection)
Collection of sounds
- load(filepath, *, check_existing=False)
Add a new sound to the main database from a file
- Parameters:
filepath (str) – path for the data-block (never None, blend relative
//prefix supported)check_existing (bool) – Using existing data-block if this file is already loaded (optional)
- Returns:
New text data-block
- Return type:
- remove(sound, *, do_unlink=True, do_id_user=True, do_ui_user=True)
Remove a sound from the current blendfile
- Parameters:
sound (
Sound) – Sound to remove (never None)do_unlink (bool) – Unlink all usages of this sound before deleting it (optional)
do_id_user (bool) – Decrement user counter of all data-blocks used by this sound (optional)
do_ui_user (bool) – Make sure interface does not reference this sound (optional)
- tag(value)
tag
- Parameters:
value (bool) – 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:
- 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