Source code for director.shallowCopy

[docs]def deepCopy(dataOb): newData = dataObject.NewInstance() newData.DeepCopy(dataObj) return newData
[docs]def shallowCopy(dataObj): newData = dataObj.NewInstance() newData.ShallowCopy(dataObj) return newData