_Connector.copy
- _Connector.copy(duplicate=False)[source]
Make an independent copy of the data object.
- Parameters:
- duplicatebool, optional
If True, the copy will have the same name and UID as the original. Defaults to False, which means the copy will have a new name and UID.
- Returns:
compas.data.DataAn independent copy of this object.
Notes
If duplicate is False, the new object will have a unique UID and a name derived from the original name (e.g., “original_copy”).
The copy is independent of the original object. Changes to one will not affect the other.