GreasePencilLayer(bpy_struct)

base class — bpy_struct

class bpy.types.GreasePencilLayer(bpy_struct)

Collection of related drawings

hide

Set layer visibility

Type:

boolean, default False

lock

Protect layer from further editing and/or frame changes

Type:

boolean, default False

name

Layer name

Type:

string, default “”, (never None)

opacity

Layer Opacity

Type:

float in [0, 1], default 0.0

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 (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