Teamcenter integration settings

If you are integrating with Teamcenter, there are a number of settings that are provided. The settings that apply to MI Materials Gateway for Teamcenter with NX are in a block marked by the host identifier MIMaterialsGateway_TCNX.

<HostConfiguration>
   ... <Host a:host="MIMaterialsGateway_TCNX"> 
        ... 
       </Host> 
        ... 
</HostConfiguration>
Typical tasks for a Teamcenter integration include:
Using TeamcenterPartItemTypes to specify customizations for Teamcenter data types
If your Teamcenter data model is configured to use custom data types, you must specify the Teamcenter types that represent BoM parts. For example, when parts are imported from NX to Teamcenter, they may be imported to custom data types derived from Item and ItemRevision.
Using PartPropertyDisplayMapping to display part properties
You can configure Gateway for Teamcenter with NX to display additional columns of part property data from the NX part model. The part properties will be displayed in the Assignments panel, and in the results of Where Used queries. See Show part properties for Assignments.
In addition to the more general settings in Host Configuration, the following settings apply to MI Materials Gateway for Teamcenter:
TeamcenterPartItemTypes

This is used to specify the Teamcenter objects that are defined as BoM parts in the Teamcenter environment. The value is a semicolon-separated list of Teamcenter types. You can use the wildcard * to include all subtypes of a specified type.

Example: Item;Part*;ABCItem*

This value indicates that Teamcenter objects of the following types:
  • Item/ItemRevision
  • Part/PartRevision and all its subtypes
  • ABCItem/ABCItemRevision and all its subtypes
will be treated as parts in the BoM by Gateway. All other types of objects will be ignored.

Applies to: Gateway for Teamcenter with NX

KeepRemovalsInSync
This determines the behavior when a Teamcenter part object with existing assignments in Teamcenter is opened in MI Materials Gateway for Teamcenter with NX.
  • Any Granta MI assignments that are found on bodies in the NX part model will always be copied to the Teamcenter part object (if not already present), regardless of this setting.
  • If a Granta MI assignment exists on the Teamcenter part object, but is not found on any of the bodies in the NX part model, then the synchronization behavior depends on the value of this setting.
  • If true, then any assignments found on the Teamcenter part object which are not present on the NX part file are removed.
  • If false, or not specified, then no assignments are removed from the Teamcenter part object, even if they don’t match what’s currently assigned to the part model in NX.

Applies to: Gateway for Teamcenter with NX

CustomHostPartMaterialQuery

This option can be used to configure custom lists of Granta MI materials in your Teamcenter system that can be viewed and assigned in Gateway. The custom lists that are available for each part can be viewed by right-clicking on a body in the Assignments panel, and selecting the Teamcenter sub-menu.

For each custom list that you want to make available in Gateway:

  • Create a text file containing a Teamcenter query that returns the required list of GrantaMaterial objects, and put this file on the Granta MI server in a location that can be accessed by Gateway.
  • In the <HostConfiguration> section for Teamcenter, add a CustomHostPartMaterialQuery element to specify the custom list. The syntax is a colon-separated pair of values:
  • the name of the custom list, as you want it to appear in the Gateway assignments menu
  • the relative path to the text file containing the Teamcenter query

Applies to: Gateway for Teamcenter with NX

CustomHostPartProcessQuery

As above, for process assignments, where the Teamcenter query returns a list of GrantaProcess objects.

Applies to: Gateway for Teamcenter with NX

CustomHostPartFinishingProcessQuery

As above, for surface treatment assignments, where the Teamcenter query returns a list of GrantaSurfaceTreatment objects.

Applies to: Gateway for Teamcenter with NX

CustomHostPartColorQuery

As above, for color assignments, where the Teamcenter query returns a list of GrantaColor objects.

Applies to: Gateway for Teamcenter with NX

TCCredentialsForUpload

Depending on your Teamcenter process and configuration, it may be the case that materials are assigned via Gateway at a stage where the part geometry is no longer permitted to be changed, and therefore the Teamcenter user may not have permission to edit the NX part file in Teamcenter.

This setting can be used to specify an encrypted set of Teamcenter user credentials with elevated permission to edit NX part files in Teamcenter, that will be used by Gateway to make assignments.

Contact Ansys Granta Technical Support for details of how to generate the encrypted string.

Applies to: Gateway for Teamcenter with NX