Struct(bpy_struct)

base class — bpy_struct

class bpy.types.Struct(bpy_struct)

RNA structure definition

base

Struct definition this is derived from (readonly)

Type:

Struct

description

Description of the Struct’s purpose (default “”, readonly, never None)

Type:

str

functions

(default None, readonly)

Type:

bpy_prop_collection[Function]

identifier

Unique name used in the code and scripting (default “”, readonly, never None)

Type:

str

name

Human readable name (default “”, readonly, never None)

Type:

str

name_property

Property that gives the name of the struct (readonly)

Type:

StringProperty

nested

Struct in which this struct is always nested, and to which it logically belongs (readonly)

Type:

Struct

properties

Properties in the struct (default None, readonly)

Type:

bpy_prop_collection[Property]

property_tags

Tags that properties can use to influence behavior (default None, readonly)

Type:

bpy_prop_collection[EnumPropertyItem]

translation_context

Translation context of the struct’s name (default “”, readonly, never None)

Type:

str

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:

bpy.types.Struct

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

Inherited Properties

Inherited Functions

References