AttributeGroup(bpy_struct)

base class — bpy_struct

class bpy.types.AttributeGroup(bpy_struct)

Group of geometry attributes

active

Active attribute

Type

Attribute

active_color

Active color attribute for display and editing

Type

Attribute

active_color_index

Active color attribute index

Type

int in [-inf, inf], default 0

active_color_name

The name of the active color attribute for display and editing

Type

string, default “”, (readonly, never None)

active_index

Active attribute index

Type

int in [-inf, inf], default 0

default_color_name

The name of the default color attribute used as a fallback for rendering

Type

string, default “”, (readonly, never None)

render_color_index

The index of the color attribute used as a fallback for rendering

Type

int in [-inf, inf], default 0

new(name, type, domain)

Add attribute to geometry

Parameters
  • name (string, (never None)) – Name, Name of geometry attribute

  • type (enum in Attribute Type Items) – Type, Attribute type

  • domain (enum in Attribute Domain Items) – Domain, Type of element that attribute is stored on

Returns

New geometry attribute

Return type

Attribute

remove(attribute)

Remove attribute from geometry

Parameters

attribute (Attribute, (never None)) – Geometry Attribute

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