UserExtensionRepoCollection(bpy_struct)#
base class — bpy_struct
- class bpy.types.UserExtensionRepoCollection(bpy_struct)#
Collection of user extension repositories
- classmethod new(name='', module='', custom_directory='', remote_url='', source='USER')#
Add a new repository
- Parameters:
name (string, (optional, never None)) – Name
module (string, (optional, never None)) – Module
custom_directory (string, (optional, never None)) – Custom Directory
remote_url (string, (optional, never None)) – Remote URL
source (enum in ['USER', 'SYSTEM'], (optional)) –
Source, How the repository is managed
USER
User – Repository managed by the user, stored in user directories.SYSTEM
System – Read-only repository provided by the system.
- Returns:
Newly added repository
- Return type:
- classmethod remove(repo)#
Remove repos
- Parameters:
repo (
UserExtensionRepo
, (never None)) – Repository to remove
- 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