copy#

Project.copy(name=None)[source]#

Creates a deep copy of the current project

A deep copy means that new, unique versions of all the objects are created but with identical data and properties.

Parameters:

name (str) – The name to give to the new project. If not supplied, a name is automatically generated.

Returns:

proj – A new Project object containing copies of all objects

Return type:

list

Notes

Because they are new objects, they are given a new uuid (obj.settings['uuid']), but the uuid of the original object is also stored (obj.settings['original_uuid']) for reference.