Question & Answer
Question
How can I add a custom type to the list of predefined types built into Rhapsody?
Answer
If for example you would like to use u32 instead of unsigned int.
You can customize the predefined types package by performing the following steps:
- Add the Predefined types package (under Share\Properties\PredefinedTypesC++.sbs for example) to your model by value (as a unit) which replaces the read-only reference to the predefined package.
- Make the necessary edits to this unit that you have added and then save it.
- Lastly, replace the unit in the Rhapsody\Share\Properties directory with the unit that you have created (which is saved in the _rpy directory).
Be sure to create a backup copy of the original Predefined Types packages before attempting this.
1515AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
10455
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21323737