AttributeGroupCurves(bpy_struct)

base class — bpy_struct

class bpy.types.AttributeGroupCurves(bpy_struct)

Group of geometry attributes

active

Active attribute

Type:

Attribute

active_index

Active attribute index or -1 when none are active

Type:

int in [-1, 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

domain_size(domain)

Get the size of a given domain

Parameters:

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

Returns:

Size, Size of the domain

Return type:

int in [0, inf]

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

Inherited Properties

Inherited Functions

References