AssetTags(bpy_prop_collection)
base class — bpy_prop_collection
- class bpy.types.AssetTags(bpy_prop_collection)
Collection of custom asset tags
- new(name, *, skip_if_exists=False)
Add a new tag to this asset
- Parameters:
name (str) – Name, (never None)
skip_if_exists (bool) – Skip if Exists, Do not add a new tag if one of the same type already exists (optional)
- Returns:
New tag
- Return type:
- remove(tag)
Remove an existing tag from this asset
- Parameters:
tag (
AssetTag) – Removed tag (never None)
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- 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.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type