Assign project to object
This example pipeline demonstrates how to create a part and assign it to a Teamcenter project.

Steps
1: Startpoint is a JSON Generator Snap which contains a small amount of data in a JSON document. The stored JSON document contains data necessarry for creating a Part.
JSON file | Snap configuration |
|---|---|
| ![]() |
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
- $expandAttributes to field Expand Attributes Path
Snap configuration | Snap output |
|---|---|
![]() | |
3: JSON property "project_list" of the newly created object is empty. Output of Tc Create Snap includes property “UID” which is the unique ID for the object in Teamcenter. Its value is given to Tc Project Assign Snap field “Object ID”. Field 'Project' is hard coded with the name of an existing project.
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 |
|---|---|
![]() | |
Now output document of Tc Project Assign Snap shows project id of assigned project in “project_list”.


