Attribute(bpy_struct)

base class — bpy_struct

subclasses — BoolAttribute, ByteColorAttribute, ByteIntAttribute, Float2Attribute, FloatAttribute, FloatColorAttribute, FloatVectorAttribute, Int2Attribute, IntAttribute, QuaternionAttribute, StringAttribute

class bpy.types.Attribute(bpy_struct)

Geometry attribute

data_type

Type of data stored in attribute

Type:

enum in Attribute Type Items, default ‘FLOAT’, (readonly)

domain

Domain of the Attribute

Type:

enum in Attribute Domain Items, default ‘POINT’, (readonly)

is_internal

The attribute is meant for internal use by Blender

Type:

boolean, default False, (readonly)

name

Name of the Attribute

Type:

string, default “”, (never None)

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

Inherited Properties

Inherited Functions

References