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)
palettes
Type:GreasePencilPalettes bpy_prop_collection of GPencilPalette, (readonly)
show_stroke_direction

Show stroke drawing direction with a bigger green dot (start) and smaller red dot (end) points

Type:boolean, default False
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