Copy an object with SaveAs
This example pipeline demonstrates how to create an object and then copy it with Save As.

Steps
1: Input for the creation is stored in JSON Generator. The stored JSON document contains data necessary for creating a Part.
Snap configuration | Snap output |
|---|---|
![]() | |
2: In the snap configuration following values has to fed into fields of the Tc Create Snap:
- $object_type to field Object Type
- $attributes to field Object Attributes Path
- $expand to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
Output document contains data of newly created object. The resulting object includes ID information which can be used as Object ID in Tc SaveAs Snap next.
UIDs in Teamcenter are as the name says UNIQUE. The UIDs in the example only exist in our Teamcenter system as expected for our example. Same is valid for Adapter ID "_id" since its base is the UID.
Snap configuration | Snap output |
|---|---|
![]() | |
The output JSON document provides an example output from SaveAs execution for a Part in Teamcenter OOTB data model. The created object is a copy of the original one. This is recognizable by checking the object_desc attribute e.g.


