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