EnumProperty(Property)¶
base classes — bpy_struct
, Property
- class bpy.types.EnumProperty(Property)¶
RNA enumeration property definition, to choose from a number of predefined options
- default¶
Default value for this enum
- Type:
enum in [‘DUMMY’], default ‘DUMMY’, (readonly)
- default_flag¶
Default value for this enum
- Type:
enum set in {‘DUMMY’}, default {}, (readonly)
- enum_items¶
Possible values for the property
- Type:
bpy_prop_collection
ofEnumPropertyItem
, (readonly)
- enum_items_static¶
Possible values for the property (never calls optional dynamic generation of those)
- Type:
bpy_prop_collection
ofEnumPropertyItem
, (readonly)
- enum_items_static_ui¶
Possible values for the property (never calls optional dynamic generation of those). Includes UI elements (separators and section headings).
- Type:
bpy_prop_collection
ofEnumPropertyItem
, (readonly)
- 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