ScriptDirectoryCollection(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.ScriptDirectoryCollection(bpy_prop_collection)
- classmethod new()
Add a new Python script directory
- Return type:
- classmethod remove(script_directory)
Remove a Python script directory
- Parameters:
script_directory (
ScriptDirectory) – (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