Configuring Systems Engineering > Customizing Visio diagram templates
Define a relation master shape
Note: You can define relation master shapes that show the names of the defining and complying objects for trace links; such a shape can also show an arrow pointing to the defining object.
Relation master shapes and connection master shapes are both mapped to connection objects in Teamcenter. Relation shapes differ in that they use relation rules to specify Teamcenter GRM relations.
Procedure
- In the Teamcenter stencil file (.vsx or .vssx), open the stencil that contains the master shape.
- Right-click the master shape and choose Edit Master -> Edit Master Shape. (If disabled, the stencil may be in read-only mode.)
- Right-click the master shape in the Edit Master window and choose Show ShapeSheet.
- Right-click anywhere in the shape sheet and choose Insert Section. Select Shape Data and Actions, then click OK.
- In the Shape Data section, type
Object Namein the first box under the Label box. Do not change the rest of the boxes. - Modify the Actions section to create shortcut menu commands:
| Action | Menu label |
|---|---|
| Actions.Properties | "Properties" |
| Actions.RemoveFromDiagram | "Remove from Diagram" |
| Actions.GotoTeamcenter | "Go to Teamcenter" |
| Actions.DeleteInTeamcenter | "Delete in Teamcenter" |
(Each action's formula follows the pattern RUNADDONWARGS("QueueMarkerEvent", "/comp=SiemensPLM /product=TCUA /action=<ActionName>").)
- Close the shape sheet and Edit Master window to save and update the master shape.
- In the related mapping file (.xml), enter a
RelationShapetag for each relation master shape. Within the RelationShapes section,RelationShapetags identify the shapes defined as Teamcenter relations:
<RelationShapes>
<RelationShape Name="TraceLink"/>
</RelationShapes>
Related Topics
- Selecting defining and complying objects
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/xid455892 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)