create_collection

compas_blender.utilities.create_collection(name: str, parent: bpy.types.Collection = None) → bpy.types.Collection[source]

Create a collection with the given name.

Parameters
  • name (str)

  • parent (bpy.types.Collection, optional)

Returns

bpy.types.Collection