This enum contains the possible copy operations, for example for the Attribute Copy TOP node.
Values ¶
pdg.attribCopyType.New
The attribute is only copied if an existing attribute with the same name does not exist
pdg.attribCopyType.OverwriteType
The attribute is always copied, even if an existing attribute with a different type already exists. The existing attribute is replaced.
pdg.attribCopyType.Overwrite
The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The existing attribute’s value is replaced.
pdg.attribCopyType.Append
The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The value is appended onto the end of the existing attribute.
pdg.attribCopyType.Prepend
The attribute is copied if no attribute exists, or an existing attribute exists with the same type. The value is appended onto the start of the existing attribute.
pdg.attribCopyType.Update
The attribute is copied if no attribute exists, or an existing attribute exists with the same type. Array values are overwritten, however existing array entries beyond the length of the incoming array are preserved.