AttributeGroupGreasePencilDrawing(bpy_struct)#

base class — bpy_struct

class bpy.types.AttributeGroupGreasePencilDrawing(bpy_struct)#

Group of geometry attributes

active#

Active attribute

Type:

Attribute

active_index#

Active attribute index

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#