GreasePencil(ID)

base classes — bpy_struct, ID

class bpy.types.GreasePencil(ID)

Freehand annotation sketchbook

animation_data

Animation data for this data-block

Type:AnimData, (readonly)
layers
Type:GreasePencilLayers bpy_prop_collection of GPencilLayer, (readonly)
use_onion_skinning

Show ghosts of the frames before and after the current frame, toggle to enable on active layer or disable all

Type:boolean, default False
use_stroke_edit_mode

Edit Grease Pencil strokes instead of viewport data

Type:boolean, default False
clear()

Remove all the grease pencil data

Inherited Properties

Inherited Functions

References