create_collections_from_path

compas_blender.utilities.create_collections_from_path(path, separator='::')[source]

Create nested collections from a collection path string.

Parameters
  • path (str) – The collection path with collection names separated by the specified separator.

  • separator (str, optional) – The separator between components of the path.

Returns

list[bpy.types.Collection]