Configuring Systems Engineering > Customizing Visio diagram templates
Activating trace link subtypes for diagrams
Custom trace link subtypes are defined in the Business Modeler IDE. When a custom subtype is deployed, it is available for assignment to trace links between structure elements in Teamcenter.
To use the trace link subtype in diagrams of structures, relate it to a diagram template:
- Add the subtype's internal name to the
NE_relation_rule_grm_listpreference value.- Caution: use the subtype's class definition name from the Business Modeler IDE, not the name displayed in the Teamcenter rich client.
- Map a trace link master shape to the custom trace link subtype. In the diagram template, associate the stencil with the mapping file and select the custom trace link relation in the Relation Rule list. (Both actions can be done in the New Diagram Template or Edit Diagram Template dialog box.)
- In the mapping file, declare the master shape in the
DiagramShapeMapentry, with atypeMaptag to map it to the subtype:
<DiagramShapeMap DiagramShapeName="trace_link_master_shape">
<typeMaps>
<typeMap BaseFoundationClass="FND_TraceLink" SubClassName=""/>
<typeMap BaseFoundationClass="FND_TraceLink" SubClassName="trace_link_subtype" default="Boolean"/>
| Parameter | Value |
|---|---|
| DiagramShapeName | Replace trace_link_master_shape with the exact name of the master shape in the stencil. |
| SubClassName | Replace trace_link_subtype with the class definition name from the Business Modeler IDE. (Caution: do not use the name displayed in the rich client.) |
| default | (Optional) Replace Boolean with true to designate the subtype as the default object type for the trace link master shape. Caution: if the master shape has another typeMap tag with true as the default value, change that value to false or delete that default parameter entirely. |
Note: You can use additional typeMaps entries to define more mapping details for the master shape.
Related Topics
- Introduction to attributes
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/xid850366 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)