PLM Teamcenter Snap Pack examples

Foundation

Example Snaps used

Tc Change Ownership: Simple input example

This example shows the input document that changes the owning user and owning group of a part in Teamcenter.

Create a part and change its ownership

This example pipeline demonstrates how to create a part and change its ownership in Teamcenter.

Tc Create: Simple input example

This example shows the input document that creates a part in the Teamcenter out-of-the-box data model.

Create Teamcenter elements based on data from Excel sheet

This example pipeline demonstrates how to read the metadata of Teamcenter elements from an Excel sheet and create those elements in Teamcenter.

Tc Create And Update Item: Simple create example

This example shows the input document that creates a part and sets attributes on both its item and its revision in one call.

Tc Create And Update Multi: Simple create of five objects

This example shows the input document that creates five objects in one call, one of which also carries item revision attributes.

Delete object

This example pipeline demonstrates how to create an object and then delete it.

Tc Find Object by Attributes: Simple input example

This example shows the input document that finds Teamcenter objects by their attribute values.

Tc Find Object by Id: Simple input example

This example shows the input document that finds a Teamcenter object by its ID.

Get informations of an object

This example pipeline demonstrates how to create an object and then read its information from Teamcenter.

Tc Perform Search: Simple input example

This example shows the input document that runs a Teamcenter search for documents.

Assign project to object

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

Remove project from object

This example pipeline demonstrates how to remove a project assignment from an object.

Tc Query: Simple input example

This example shows the input document that runs a saved query in Teamcenter.

Create objects and relate them

This example pipeline demonstrates how to create two objects and then relate them to each other.

Tc Relation Expand: Simple input example

This example shows the input document that expands the relations of an object.

Tc Relation Expand Multi: Simple example

This example shows the input document that expands the relations of several objects in one call.

Tc Relation Get: Simple input / output example

This example shows the input and output documents for reading the relations of an object.

Checkin or cancel reservation of a reserved object

This example pipeline demonstrates how to check in or cancel the checkout of a reserved object, and how to read its reservation history.

Tc Reservation Cancel Checkout: Simple output example

This example shows the output document of a cancel checkout operation.

Tc Reservation Checkin: Simple output example

This example shows the output document of a check-in operation, where the result is reflected in the checked_out properties.

Create a part and do reservation

This example pipeline demonstrates how to create a part and then check it out.

Tc Reservation Checkout: Simple output example

This example shows the output document of a checkout operation, where the result is reflected in the checked_out properties.

Tc Reservation Get History: Simple output example

This example shows the output document that lists the reservation history of an object.

Tc Resolve: Resolve an object

This example shows the input document that resolves an object in the Teamcenter out-of-the-box data model.

Release object and revise it

This example pipeline demonstrates how to create an object, set its release status, and then revise it.

Copy an object with SaveAs

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

Tc Set Release Status: Simple output example

This example shows the output document of a release status change, where the result is reflected in the release_status properties.

Create a part and update it

This example pipeline demonstrates how to create a part and then update one of its attributes.

Update Part Revision and Item

This example pipeline demonstrates how to create an object and then update attributes on both its item and its revision.

Foundation Plus

Example Snaps used

Tc Generate IDs: Simple output example

This example shows the Snap settings and the output document for generating IDs for Teamcenter objects.

Tc License Attach: Simple output example

This example shows the output document for attaching a license to an object.

Tc License Get: Simple output example

This example shows the output document that lists the licenses attached to an object.

Tc License Remove: Simple output example

This example shows the output document for removing a license from an object.

Tc Localized Properties Get: Simple output example

This example shows the output document that returns the localized values of two properties.

Tc Localized Properties Set: Simple output example

This example shows the output document for setting localized property values.

Foundation Files

Example Snaps used

Delete referenced file

This example pipeline demonstrates how to delete a file referenced by a dataset, and optionally the dataset itself once it is empty.

Create a part, upload and download a file

This example pipeline demonstrates how to create a part, upload a file to it, and download that file again.

Find or create a part, upload or replace a file

This example pipeline demonstrates how to find or create a part and then upload or replace its file.

Tc File Test Fsc Access: Simple output example

This example shows the output document that reports the FMS bootstrap URLs and the assigned FSC URIs.

Foundation Workflow

Example Snaps used

Tc Participant Add: Add participant example

This example shows the input document that adds a participant to an object.

Tc Participant Get: Simple output example

This example shows the output document that returns the participants of a Teamcenter object.

Tc Participant Get Types: Get usable participant types for ItemRevision

This example shows the Snap settings and the output document that list the participant types usable with an item revision.

Tc Participant Remove: Remove participant

This example shows the participants of an object before and after a participant is removed.

Tc Participant Remove: Simple output example

This example shows the output document for removing a participant from an object.

Tc Start Workflow: Simple output example

This example shows the output document for starting a Teamcenter workflow.

Tc Task Abort: Simple output example

This example shows the output document for aborting a workflow task.

Tc Task Approve: Simple output example

This example shows the output document for approving a workflow task.

Tc Task Assign: Simple output example

This example shows the output document for assigning a workflow task.

Tc Task Get: Simple output example

This example shows the output document that returns a workflow task from Teamcenter.

Tc Task Reject: Simple output example

This example shows the output document for rejecting a workflow task.

Tc Task Set Condition Value: Simple output example

This example shows the output document for setting the value of a condition in a workflow task.

Classification

Example Snaps used

Create a part and classify it

This example pipeline demonstrates how to create a part and classify it in Teamcenter.

Create a part, classify it and delete classification

This example pipeline demonstrates how to create a part, classify it, and then delete the classification.

Create a part, classify it and get classification details

This example pipeline demonstrates how to create a part, classify it, and then read the classification details.

Create a part, classify it and update classification

This example pipeline demonstrates how to create a part, classify it, and then update the classification.

Tc Classification Get Class Definitions: Simple output example

This example shows the output document that returns the class definitions of a Teamcenter system.

Structure Management

Example Snaps used

Tc BOM Structure Add: Add child to BOM

This example shows the input document that adds a child item to a parent part of a BOM structure.

Tc BOM Structure Create: Create new elements and structure based on JSON document

This example shows the input document that creates a BOM together with the parts it contains.

Create Teamcenter Parts and BOM based on data from Excel sheet using the Tc BOM Structure Create Snap

This example pipeline demonstrates how to create Teamcenter parts and their BOM structure from the data in an Excel sheet.

Tc BOM Structure Create Baseline: Create BOM and create a baseline

This example pipeline demonstrates how to create a BOM and then create a baseline of it.

Tc BOM Structure Create TraceLink: Create a tracelink between two occurrences

This example pipeline demonstrates how to create a trace link between two occurrences of a BOM.

Tc BOM Structure Get: Inline configuration example

This example shows how the inline mode returns the child nodes of a BOM within the incoming document.

Tc BOM Structure Get: Simple output example

This example shows the output document that returns the child nodes of a BOM with their BOM line attributes.

Tc BOM Structure Get For TraceLinks: Get BOM objects for Tracelinks

This example shows the output document that returns the BOM objects to be used as trace link endpoints.

Tc BOM Structure Get Recursive: Flattened BOM output

This example shows the flattened output document that returns every node of a BOM in a single document array.

Tc BOM Structure Get Recursive: Output example of BOM

This example shows the output document that returns a BOM structure recursively.

Tc BOM Structure Get TraceLinks: Get information about tracelink between occurrences

This example pipeline demonstrates how to read the trace links between two occurrences of a BOM.

Tc BOM Structure Remove: Delete position from BOM

This example shows the output document for deleting a position from a BOM.

Tc BOM Structure Synchronize: FullSynchronization

This example shows how a full synchronization aligns a BOM structure with the incoming document.

Transfer multi level Teamcenter BOM based on data from Excel sheet using the Tc BOM Structure Synchronize Snap

This example pipeline demonstrates how to transfer a multi-level BOM from an Excel sheet into Teamcenter.

Transfer one level Teamcenter BOM based on data from Excel sheet using the Tc BOM Structure Synchronize Snap

This example pipeline demonstrates how to transfer a single-level BOM from an Excel sheet into Teamcenter, including the error handling branches.

Tc BOM Structure Where Used: Get Where Used information of child

This example shows the input document that expands the usage structure of a BOM child node.

Requirement Management

Example Snaps used

Tc Requirement Download Rich Content: Get Rich Content for ID

This example shows how to download the rich content of a requirement and store it in a file.

Tc Requirement Set Rich Content: Set Rich Content

This example shows the input document that sets the rich content of a requirement.

Tc Requirement Structure Create: Create Requirement Structure

This example shows the input document that creates a requirement structure together with its elements.

Tc Requirement Structure Synchronize: Fullsynchonization of Requirement structure

This example shows how a full synchronization removes a child from an existing requirement structure.

Tc Requirement Upload Rich Content: Set Rich Content for ID

This example shows how to read a file and upload its content as the rich content of a requirement.

Product Configuration

Example Snaps used

Tc Product Configurator Structure Create: Create a product configuration structure

This example shows the input document that creates the Product Configurator structure of an object.

Tc Product Configurator Structure Get: Get product configuration structure

This example shows the output document that returns the Product Configurator structure of an object.

Tc Product Configurator Variant Get: Get product configurator variant output

This example shows the output document that returns a fully expanded Product Configurator structure variant.

Helpers

Example Snaps used

Tc Get Deep Copy Data: Fetch deep copy data output

This example shows the output document that returns the data to consider for a deep copy of an element.

Tc Get Group Members: Get engineering group members

This example shows the output document that lists the members of the Engineering group.

Tc Get Group Structure: Get Group information

This example shows the output document that returns a Teamcenter group with all of its subgroup levels.

Tc Get Preference: Get Preference information for async connection retries

This example shows the output document that returns the value of a Teamcenter preference.

Tc Get Resource Pool: Get information of resourcce pool output

This example shows the output document that returns the resource pool information for a group or a role.

Tc Get User Group Members: Get User Group Members

This example shows the output document that returns the group member objects of a user.

Tc Get User Projects: Get User Projects for user

This example shows the output document that lists the projects a user is assigned to.

Tc Meta Get Adapter Configuration: Get Adapter configuration output

This example shows the output document that returns the configuration of the running Teamcenter adapter.

Tc Meta Get LOV Values: Get LOV values for Fnd0MaturityLOV

This example shows the output document that returns the configured values of a list of values (LOV).

Tc Meta Get Languages List: Get languages list from Teamcenter output

This example shows the output document that lists the languages available in Teamcenter.

Tc Meta Get Pool Data: Get Pool data

This example shows the output document that returns the configuration and runtime information of the adapter pool.

Tc Meta Get Type Description: Get ChangeItemRevision type description output

This example shows the output document that returns the type description of ChangeItemRevision.