Configuring Systems Engineering > Customizing Visio diagram templates
Additional mapping for creating occurrences and copying workspace objects
When you drag a block master shape from a stencil, the diagram shape represents a new occurrence (a structure element below the diagram owner). You can also copy a function revision or logical block revision in My Teamcenter (a workspace object) and insert a shape for that object without adding a corresponding occurrence.
To cover both cases, map both a runtime property and a persistent property to the block master shape:
<textPropertyMaps>
<textPropertyMap tcPropName="occ_prop" tcTypeName="occ_tp"
DiagramShapePropName="Text"/>
<textPropertyMap tcPropName="wks_prop" tcTypeName="wks_tp"
DiagramShapePropName="Text"/>
</textPropertyMaps>
- tcPropName:
occ_prop= occurrence property name for the diagram shape's text block;wks_prop= workspace object property name. - tcTypeName:
occ_tp= occurrence type the property applies to;wks_tp= workspace object type the property applies to.
For a compound master shape, use reserved tags to map properties to the text blocks of component subshapes:
- A runtimePropMap tag maps a property to shapes representing occurrences.
- A persistentPropMap tag maps a property to shapes representing workspace objects.
Enter each reserved tag below a textPropertyMap tag (leave tcPropName blank on the parent tag):
<textPropertyMap tcPropName="" tcTypeName="occ_tp" DiagramShapePropName="Text"/>
<runtimePropMap shapeName="subshape" tcRuntimePropName="occ_prop"/>...
<textPropertyMap tcPropName="" tcTypeName="wks_tp" DiagramShapePropName="Text"/>
<persistentPropMap shapeName="subshape" tcPersistentPropName="wks_prop"/>...
- shapeName: replace
subshapewith the subshape's name (must match the name assigned in Visio to that component of the compound master). Caution: use the exact Visio-assigned name. - tcRuntimePropName / tcPersistentPropName: the occurrence / workspace object property to display.
Ensure the property named in each reserved tag matches the type named in the preceding textPropertyMap tag. You can enter both reserved tag types for each component subshape.
Example
<textPropertyMap tcPropName="" tcTypeName="Fnd0FunctionalBOMLine" DiagramShapePropName="Text">
<runtimePropMap shapeName="Name" tcRuntimePropName="bl_rev_object_name"/>
<runtimePropMap shapeName="Revision" tcRuntimePropName="bl_rev_item_revision_id"/>
<runtimePropMap shapeName="Description" tcRuntimePropName="bl_rev_object_desc"/>
</textPropertyMap>
<textPropertyMap tcPropName="" tcTypeName="Functionality" DiagramShapePropName="Text"/>
<persistentPropMap shapeName="Name" tcPersistentPropName="object_name"/>
<persistentPropMap shapeName="Revision" tcPersistentPropName="revision_id"/>
<persistentPropMap shapeName="Description" tcPersistentPropName="object_desc"/>
</textPropertyMap>
For the Name subshape: bl_rev_object_name maps the occurrence name, object_name maps the workspace object name. For Revision: bl_rev_item_revision_id maps the occurrence revision identifier, revision_id maps the workspace object identifier. For Description: bl_rev_object_desc maps the occurrence description, object_desc maps the workspace object description.
Related Topics
- Define a block master shape
- Defining compound master shapes for showing multiple properties
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.plm00038/xid1171111 · retrieved Fri Jul 10 2026 00:00:00 GMT+0000 (Coordinated Universal Time)