MainCurves(bpy_struct)

base class — bpy_struct

class bpy.types.MainCurves(bpy_struct)

Collection of curves

new(name, type)

Add a new curve to the main database

Parameters:
  • name (string) – New name for the datablock.
  • type (enum in [‘CURVE’, ‘SURFACE’, ‘TEXT’]) – Type, The type of curve to add
Returns:

New curve datablock.

Return type:

Curve

remove(curve)

Remove a curve from the current blendfile.

Parameters:
  • curve (Curve, (never None)) – Curve to remove.

Inherited Properties

Inherited Functions

References

Previous topic

MainCameras(bpy_struct)

Next topic

MainFonts(bpy_struct)