Exercise 11.7 - Adding SysML-Teamcenter Artifact Types

Objectives

The new learning objective of this exercise is to add additional Teamcenter artifacts for creating new mappings for Model Transform connections. These can be standard Teamcenter element types or user-defined element types.

Preparation

This exercise assumes the student has

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

  • Syndeia 3.3 installed as a plugin for Cameo/MagicDraw with a valid license for use

  • Syndeia Teamcenter interface, correctly installed with a valid license for user.

The user can use any Teamcenter repository they have available with the ability to create and edit element within a Jama project. It is generally advisable to carry out these exercises in a non-production repository, a "sandbox", set up for training and practice purposes. We recommend that the student view the videos 1.6, 1.7, and 1.8 in the Introduction Section of the Syndeia training materials before attempting this exercise. These videos provide important background on creating custom mappings. Hands-on tutorials omit much of the logic behind the actions in the interest of clarity and brevity. We will use the MagicDraw project Syndeia_Teamcenter_Mapping_Tutorial.mdzip (get it here - https://intercax.atlassian.net/wiki/spaces/SYN34/pages/2407364009) provided with the tutorials for this exercise, which loads the profile Syndeia_Mapping_Tutorials_Profile.mdzip. We also use the syndeia34Tutorial.mappings file provided, which has been installed in the .syndeia folder and renamed as syndeia.mappings.
Any Syndeia user can use or view the mapping specifications, but Syndeia requires a special license in addition to the regular Syndeia license in order to create, modify or delete mapping information. It is good practice to confine this duty to a very limited number of experienced users or system administrators, who will provide mappings for the general users.

Exercise

  1. If not already open from the last exercise, open the SysML project Syndeia_Teamcenter_Mapping_Tutorial.mdzip (get it here - https://intercax.atlassian.net/wiki/spaces/SYN34/pages/2407364009), right-click the Teamcenter package, and launch the Syndeia dashboard. Select a Syndeia Cloud project, if needed.

     

  2. Go to the Mappings tab. The first task will be to make a new Teamcenter artifact type available for mapping.

    1. Identify the element ID of a Teamcenter artifact of the type that you want to add. In our example, this is a Procedure and we have identified a specific example of it in our Teamcenter repository, as shown in Figure 1.

      Figure 1 Example of Teamcenter artifact type Procedure

    2. Select Teamcenter under Model Types in the left column.

    3. Initially, the window should appear similar to Figure 2, with two existing Teamcenter artifact types available, Item and Requirement.

      Figure 2 Syndeia dashboard, Mappings tab, showing available Teamcenter artifact types

    4. Add new Teamcenter artifact type.

      1. Right-click Teamcenter under Model Types and select Add Artifact Type.

      2. A new window appears, Add Teamcenter Artifact Type

      3. In the Item ID text box, type the ID of the element in Figure 1, 002314.

      4. Click the Get Teamcenter Item Type button

      5. ID, Type, Name and Description fields will be populated, as shown in Figure 3. Name and Description can be modified, if desired.

        Figure 3 Add Teamcenter Artifact Type window

  3. Specify the Teamcenter artifact attributes to be available for mapping

    1. Near the bottom of the window, click the Retrieve Teamcenter Item Properties button.

    2. The table add attribute definitions… will be populated, as Figure 4.

    3. Select the DC_Procedure attributes you want to be available for mapping and click OK.

      Figure 4  Add Teamcenter Artifact Type window, lower half