AnnotationFrames(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.AnnotationFrames(bpy_prop_collection)
Collection of annotation frames
- new(frame_number, *, active=False)
Add a new annotation frame
- Parameters:
frame_number (int) – Frame Number, The frame on which this sketch appears (in [-1048574, 1048574])
active (bool) – Active, (optional)
- Returns:
The newly created frame
- Return type:
- remove(frame)
Remove an annotation frame
- Parameters:
frame (
AnnotationFrame) – Frame, The frame to remove (never None)
- copy(source)
Copy an annotation frame
- Parameters:
source (
AnnotationFrame) – Source, The source frame (never None)- Returns:
The newly copied frame
- Return type:
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type