Exercise 4.3 - SysML to Windchill Model Transform with Mappings

Exercise 4.3 - SysML to Windchill Model Transform with Mappings

Objectives

The new learning objective of this exercise is to:

Preparation

This exercise assumes the student has:

  • Cameo System Modeler 2022x (or MagicDraw with SysML plug-in) or later installed correctly on his or her machine with a valid license for use,

  • Syndeia 3.7.1 or later installed as a plugin for Cameo/MagicDraw with a valid license for use

  • Windchill interface, correctly configured with a valid license for use,

  • A Windchill repository network connection in the Syndeia Repository Manager.

Exercise

  1. Keep the same SysML project open from the previous part, Exercise 4.2 - Creating SysML - Windchill Mappings with Syndeia launched from the Windchill_Mapping package.

  2. This tutorial will use an existing SysML block structure. Return to Cameo and expand the To_Windchill package. You will see the ‘Autonomous vehicle’ block structure as shown below in Figure 1. Notice each block has the ‘Intercax_Artifact’ stereotype applied.

Screenshot 2026-04-24 113554.jpg
Figure 1 - Existing block structure and diagram in Cameo
  1. Return to Syndeia and go to the Connection Manager tab. With Model Transform Connection Type selected, drag the block structure from SysML to Windchill on the RHS as shown below in Figure 2. Then, select the new mapping spec 'Block - Part Usage' in the dropdown and click OK.

image-20260430-153058.png
Figure 2 - Model transform from SysML to Windchill
  1. In the Syndeia dashboard, you will now see the Windchill parts generated from the Model Transform (SysML → Windchill) on the RHS as shown in Figure 3.

image-20260430-153306.png
Figure 3 - The parts have been generated in Windchill
  1. Return to the Syndeia dashboard and go to the Connection Browser tab. Expand the ‘Autonomous vehicle’ part and you will see a relation appears shown in Figure 4. Right click and Compare Source and Target.

Screenshot 2026-04-24 151754.jpg
Figure 4 - Compare Source and Target on SysML parent requirement relation
  1. In the Comparison Result screen, the version and attributes of the Autonomous vehicle show green in Figure 5 as expected. Notice the part property - Usagelink relations are also synchronized.

Screenshot 2026-04-24 145746.jpg
Figure 5 - Initial Comparison Result Window
  1. Return to Cameo and select the ‘Autonomous vehicle’ block. Modify the source from ‘make’ to 'buy' as shown in Figure 6.

image-20260430-153428.png
Figure 6 - Make update in SysML to the source tag
  1. Return to Syndeia and Compare Source and Target on the same relation. The changes made in SysML will be displayed in red as shown in Figure 7.

Screenshot 2026-04-24 145934.jpg
Figure 7 - The comparison result shows the SysML change in red
  1. In the Connection Browser, right click the Autonomous vehicle relation once more and select Sync Source to Target. Trigger another Compare Source and Target. The source field should have been successfully updated to ‘buy’ in Windchill and the Comparison result window will now show entirely green as shown in Figure 8.

Screenshot 2026-04-24 150241.jpg
Figure 8 - The changes made in SysML have successfully synced to Windchill
  1. Return to Cameo and add an additional part property/block underneath ‘Autonomous vehicle’ called ‘safe’ and ‘Safety monitor’ shown in Figure 9. Make sure to apply the ‘Intercax Artifact’ stereotype.

image-20260430-153614.png
Figure 9 - Add an additional block and part property in SysML
  1. In the Syndeia dashboard, Compare Source and Target on the Autonomous vehicle part property - usage relation and the result shows that the additional part property has been updated in SysML.

Screenshot 2026-04-24 150449.jpg
Figure 10 - Compare Source and Target after adding the additional SysML part property
  1. Sync Source to Target once again on the relation and the comparison result will now show the complete synced part structure as shown in Figure 11.

Screenshot 2026-04-24 150822.jpg
Figure 11 - Safety monitor part successfully added in Windchill
  1. Open the Windchill target and you will now see the updated Windchill part structure for the Autonomous vehicle as shown in Figure 12 with the added Safety monitor part.

Screenshot 2026-05-08 152512.jpg
Figure 12 - The final Windchill part structure for Autonomous Vehicle
  1. Complete the next Windchill tutorial here: Exercise 4.4 - Windchill to SysML Model Transform with Mappings