GPencilFrames(bpy_struct)#

base class — bpy_struct

class bpy.types.GPencilFrames(bpy_struct)#

Collection of annotation frames

new(frame_number, *, active=False)#

Add a new annotation frame

Parameters:
  • frame_number (int in [-1048574, 1048574]) – Frame Number, The frame on which this sketch appears

  • active (boolean, (optional)) – Active

Returns:

The newly created frame

Return type:

GPencilFrame

remove(frame)#

Remove an annotation frame

Parameters:

frame (GPencilFrame, (never None)) – Frame, The frame to remove

copy(source)#

Copy an annotation frame

Parameters:

source (GPencilFrame, (never None)) – Source, The source frame

Returns:

The newly copied frame

Return type:

GPencilFrame

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (str) – 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 (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#