GreasePencilLayerGroup(GreasePencilTreeNode)

base classes — bpy_struct, GreasePencilTreeNode

class bpy.types.GreasePencilLayerGroup(GreasePencilTreeNode)

Group of Grease Pencil layers

children

The direct children of this layer group. Ordered by stack order, meaning the first child is the bottom most child in the layer tree. (default None, readonly)

Type:

bpy_prop_collection[GreasePencilTreeNode]

color_tag

(default 'COLOR1')

Type:

Literal[‘NONE’, ‘COLOR1’, ‘COLOR2’, ‘COLOR3’, ‘COLOR4’, ‘COLOR5’, ‘COLOR6’, ‘COLOR7’, ‘COLOR8’]

is_expanded

The layer group is expanded in the UI (default False)

Type:

bool

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

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