GreasePencilLayerGroup(bpy_struct)

base class — bpy_struct

class bpy.types.GreasePencilLayerGroup(bpy_struct)

Group of Grease Pencil layers

color_tag
Type:

enum in [‘NONE’, ‘COLOR1’, ‘COLOR2’, ‘COLOR3’, ‘COLOR4’, ‘COLOR5’, ‘COLOR6’, ‘COLOR7’, ‘COLOR8’], default ‘COLOR1’

hide

Set layer group visibility

Type:

boolean, default False

is_expanded

The layer groups is expanded in the UI

Type:

boolean, default False

lock

Protect group from further editing and/or frame changes

Type:

boolean, default False

name

Group name

Type:

string, default “”, (never None)

parent_group

The parent group this group is part of

Type:

GreasePencilLayerGroup, (readonly)

use_masks

The visibility of drawings in the layers in this group is affected by the layers in the masks lists

Type:

boolean, default False

use_onion_skinning

Display onion skins before and after the current frame

Type:

boolean, default False

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