TeamcenterKnowledge

Configuring Systems Engineering > Customizing Visio diagram templates

Define an interface master shape

Note: You can define separate master shapes for input interfaces and output interfaces in the same stencil.

Procedure

  1. In the Teamcenter stencil file (.vsx or .vssx), open the stencil that contains the master shape.
  2. Right-click the master shape and choose Edit Master -> Edit Master Shape. (If disabled, the stencil may be in read-only mode.)
  3. Right-click the master shape in the Edit Master window and choose Show ShapeSheet (also available from the Developer tab).
  4. Right-click anywhere in the shape sheet and choose Insert Section. Select Shape Data, Connection points, and Actions. Click OK.
  5. In the Shape Data section, type Object Name in the first box under the Label box. Do not change the rest of the boxes.
  6. Modify the Actions section to create shortcut menu commands:
Action Menu label
Actions.Properties "Properties"
Actions.BeginTraceLink "Start Trace Link"
Actions.EndTraceLink "End Trace Link"
Actions.EndTraceLinkAsSubtype "End Trace Link..."
Actions.RemoveFromDiagram "Remove from Diagram"
Actions.GotoTeamcenter "Go to Teamcenter"
Actions.SetPortDirection "Set Port Direction"
Actions.DeleteInTeamcenter "Delete in Teamcenter"
Actions.AssociateSignal "Associate Signal"

(Each action's formula follows the pattern RUNADDONWARGS("QueueMarkerEvent", "/comp=SiemensPLM /product=TCUA /action=<ActionName>").)

  1. Define connection points in the Connection Points section. You can add as many as you want.

Caution: You must define connection point 1 exactly as shown below to create a connection point that can attach to any noninterface shape, such as a function.

# X Y DirX DirY Type
1 Width*0.5 Height*0.5 0 in 0 in 2
2 Width*0 Height*0 1 in 0 in 0
3 Width*0 Height*0.5 0 in -1 in 0
4 Width*0 Height*1 0 in 1 in 0
5 Width*0.5 Height*1 -1 in 0 in 0
6 Width*1 Height*0 -1 in 0 in 0
7 Width*1 Height*1 1 in 0 in 0
8 Width*1 Height*0.5 0 in 0 in 0
9 Width*0.5 Height*0 0 in 0 in 0
  1. Close the shape sheet and Edit Master window to save and update the master shape.
  2. In the related mapping file, enter a PortShape tag for each interface master shape. The PortShapes section identifies which shapes are defined as interfaces:
<PortShapes>
<PortShape Name="Interface" Default="true"/>
</PortShapes>

Connection point type reference

  • Inward connection point [0]: attracts endpoints of 1D shapes and outward or inward/outward connection points of other shapes. Appropriate for block and function shapes.
  • Outward connection point [1]: attracts inward and inward/outward connection points of other shapes.
  • Inward/outward connection point [2]: behaves like an inward connection point for outward connection points, and like an outward connection point when attaching to shapes with inward connection points.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/id1683978 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)