CacheFileLayers(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.CacheFileLayers(bpy_prop_collection)
Collection of cache layers
- active
Active layer of the CacheFile
- Type:
- new(filepath)
Add a new layer
- Parameters:
filepath (str) – File path to the archive used as a layer (never None)
- Returns:
Newly created layer
- Return type:
- remove(layer)
Remove an existing layer from the cache file
- Parameters:
layer (
CacheFileLayer) – Layer to remove (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