AssetTags(bpy_struct)#
base class — bpy_struct
- class bpy.types.AssetTags(bpy_struct)#
Collection of custom asset tags
- new(name, skip_if_exists=False)#
Add a new tag to this asset
- Parameters:
name (string, (never None)) – Name
skip_if_exists (boolean, (optional)) – Skip if Exists, Do not add a new tag if one of the same type already exists
- Returns:
New tag
- Return type:
- remove(tag)#
Remove an existing tag from this asset
- Parameters:
tag (
AssetTag
, (never None)) – Removed tag
- 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