15.4. Import from IBM Rational Rhapsody

Ansys medini analyze supports the import of Rational Rhapsody system models (SysML). Only concepts supported by medini SysML can be imported. These are structure and behavior concepts that are targets of safety activities, such as FMEA, FTA, FMEDA, and HARA. For more information, see Concepts Supported During Import.


Note:  The model you want to import or update must be loaded in Rhapsody during import.


15.4.1. About Supported Versions

Ansys medini analyze supports the import of models from IBM Rational Rhapsody versions 7.6 to 8.3.

15.4.2. Before You Begin

To import a model from IBM Rational Rhapsody, your system must meet these requirements:

  • Rhapsody must be installed on the local machine and must be running

  • In Rhapsody, you must must have the project model open that you wish to import

  • In medini analyze, you must register the Rhapsody API files. To register the API files, complete these steps:

    1. In medini analyze, navigate to Window > Preferences > Integration > Rhapsody

    2. Use the Browse buttons to enter the paths to the rhapsody.jar and rhapsody.dll files in the corresponding text fields. Or, use Auto Detect to automatically populate the fields.

    3. Click the Apply and Close button.

15.4.3. Import Options for Rhapsody

Selecting the options in the import wizard reduces the number of imported model parts. All options in the wizard are deselected by default. You must actively select an option for it to take effect. The options are described in the table below.

Table 15.3: Rhapsody Import Options

OptionDescription
Save all projects before importPrevents data loss in the event of a crash during import.
Do not import empty packages

Prevents empty packages from being imported. A package in Rhapsody is considered empty if it does not contain a concept that medini analyze can import. See the table of Supported Concepts.

When this option is set during an update, empty packages already imported are removed from the model in medini analyze during the update.

Do not import referenced packages

Selecting this option forces the importer to stop any further drill-down into packages that were imported (referenced) in the Rhapsody project. The option is useful when a Rhapsody project is assembled from a set of subprojects, making the analysis only on the root structure and not the details.

When this option is set during an update, referenced packages already imported may be removed from medini analyze during the update.

Import only selected packages

When you enable this option, you can select specific packages to import. Depending on whether the previous two options are enabled, all Rhapsody packages are presented in a subsequent wizard page. The packages you select are stored together with the imported model; these packages are considered during update imports. Note that the option as well as the selection can be changed during update from Rhapsody.

When this option is set during an update, selected packages already imported may be removed from medini analyze during the update.

Collection of new terms to be imported

In this field, enter the list of Rhapsody "New Term" stereotypes that you want medini analyze to consider valid during import. The terms you enter remain in the text field. Note that you can paste them from the clipboard as a comma-separated list.


15.4.4. Importing a Model from Rhapsody

To import a model from Rhapsody, complete these steps:

  1. In medini analyze, in the model browser, navigate to your project and right-click a package that supports system design.

  2. From the context menu, select Import > Model from Rhapsody....

    During the import, medini analyze accesses the project that is open in Rhapsody.

  3. Complete the steps in the import wizard.

15.4.5. Known Issues when Importing from Rhapsody

For more information about these issues, contact Ansys Customer Support.

  • Mixing 32-bit Rhapsody and 64-bit medini analyze sometimes causes trouble although it is a valid and supported configuration.

  • Diagrams are imported as scalable vector graphics (SVG), but they are static and cannot be modified

  • Auto-detection sometimes does not work. This seems to be caused by installing different styles of Rhapsody, such as single-user versus multi-user