GPencilFrames(bpy_struct)

base class — bpy_struct

class bpy.types.GPencilFrames(bpy_struct)

Collection of grease pencil frames

new(frame_number)

Add a new grease pencil frame

Parameters:frame_number (int in [-500000, 500000]) – Frame Number, The frame on which this sketch appears
Returns:The newly created frame
Return type:GPencilFrame
remove(frame)

Remove a grease pencil frame

Parameters:frame (GPencilFrame, (never None)) – Frame, The frame to remove
copy(source)

Copy a grease pencil frame

Parameters:source (GPencilFrame, (never None)) – Source, The source frame
Returns:The newly copied frame
Return type:GPencilFrame

Inherited Properties

Inherited Functions

References