Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the SysML project Syndeia_Teamcenter_Mapping_Tutorial.mdzip, right-click the Teamcenter package, and launch the Syndeia dashboard
  2. Go to the Settings tab (Figure 1) and check the Use mapping element under the General heading, if not already checked. Click Apply.
    Image Removed
    Image Added

  3. Go to the Mappings tab. The contents of the main area on the right will depend on the element selected on the left. Expand Mapping Groups and select SysML-Teamcenter on the left to see the existing mappings in this area (Figure 2).
    Image Removed
    Image Added

  4. The first task is to drag a hierarchy of SysML blocks into Teamcenter to create multiple Teamcenter items.
    1. Set Connection Type to Model Transform in the central column
    2. Drag the Block_A block onto the target Teamcenter folder.
    3. Select Block-Item (no attributes) and click OK (Figure 3).
      Image Removed
      Image Added

  5. We can view the new Teamcenter items created by expanding the right side of the Connection Manager (see Figure 4). Teamcenter has assigned new id’s to these items, but the structure from the SysML block structure is preserved.
    Image Removed
    Image Added

  6. In the second example, we will use a different mapping when we drag the Teamcenter items back into SysML.
    1. Return to the Mappings tab in the Syndeia dashboard and select the mapping Block – Item (attributes) in the left column (Figure 5). At the bottom right, we see that this mapping is associated with a new SysML stereotype, <<Intercax_Artifact>>, which contains a set of tag values corresponding to some of the attributes of an Item in Teamcenter. On the right side under Attribute Definition Mappings, there is a table showing the desired mappings between the SysML (Source) element tag values and the Teamcenter (Target) attributes.
      Image Removed
      Image Added

    2. In the Syndeia dashboard, Connection Manager tab, select the Model Transform connection type, drag the 002566-Block_A item into an empty SysML package (T3 in this example), and select the Block -Item (Attributes) mapping.
    3. You can view the new blocks created in MagicDraw. It should appear similar to Figure 6. The <<Intercax_Artifact>> stereotype has been applied and the associated tag values have been added. Some of those tags (id, rev, and type) have been populated with default values by Teamcenter when the blocks were created earlier.



  7. Use Syndeia’s Compare and Sync capabilities to change the SysML model and push the changes to Teamcenter.
    1. Create the tag value “USA” in govClass in Block_A in SysML. Do not use HTML formatting.
    2. Delete part property a2:Block_A2 in SysML.
    3. In the Syndeia dashboard, Connection Browser tab, find the connection from T3::Block_A to Teamcenter (Figure 7). Right-click this row and select Compare Source & Target.
      Image Removed
      Image Added

    4. The Comparison Result tab will show the differences between the SysML and Teamcenter models (Figure 8). The difference table shows that the SysML model is missing the child part of type Block_A2 and has a value for the govClass attribute.
      Image Removed
      Image Added

  • Return to the Syndeia dashboard, Connection Browser tab, and the connection from T3::Block_A to Teamcenter (Figure 7). Right-click this row and select Sync Source to Target.

...


  • Image Added

  • Repeat the comparison and see that all differences have been resolved by updating the Teamcenter model.

...


  • Image Added