IBM Support

Unable to see custom types in the features window for attributes, variables and arguments.

Troubleshooting


Problem

Your model includes one or more custom types but you are not able to assign that type in IBM Engineering Systems Design Rhapsody because it does not appear in the list of types that can be assigned.

Symptom

Your model contains one or more custom types that are likely reused from another model. When you view the Features dialog for an attribute, variable or argument and you click the Type drop down to assign that custom type, it is not present in the list. For example, MyType and NewType are both missing from the list in the screenshot below.
image-20221107093049-1
image-20221107093142-2
When you click the "Select Model Element" button in the Type field, the dialog does not show the package that contains your custom types. In addition, you might notice that your C model contains the PredefinedTypesCpp package or that your C++ model contains the PredefinedTypesC package, but these will also not be shown in this dialog.

Cause

The unit that contains the custom types is from a model that uses a different language (C or C++) to the model you are trying to use them in. This is why Rhapsody also adds the corresponding PredefinedTypes package to the model. Rhapsody automatically excludes these types from the dialog.
You can verify this by opening the unit that contains the types in a text editor. Near the top of the file you will see the language for the unit:
image-20221107093552-3

Resolving The Problem

Only reuse custom types in a model that matches the origin model. 

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjYpAAK","label":"Rhapsody-\u003EUser Interface-\u003EFeatures Dialog"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
07 November 2022

UID

ibm16837575