GreasePencil(ID)¶
base classes — bpy_struct, ID
-
class
bpy.types.GreasePencil(ID)¶ Freehand annotation sketchbook
-
layers¶ Type: GreasePencilLayersbpy_prop_collectionofGPencilLayer, (readonly)
-
palettes¶ Type: GreasePencilPalettesbpy_prop_collectionofGPencilPalette, (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
-
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.Structsubclass
-
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