create_collection

compas_blender.utilities.create_collection(name, parent=None)[source]

Create a collection with the given name.

Parameters
  • name (str) – The name of the collection.

  • parent (bpy.types.Collection, optional) – A parent collection.

Returns

bpy.types.Collection