How can I add a custom type to the list of predefined types built into Rhapsody?

Technote (FAQ)


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

Historical Number

10455

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Rhapsody
General Information

Software version:

Version Independent

Operating system(s):

Platform Independent

Reference #:

1323737

Modified date:

2010-10-27

Translate my page

Machine Translation

Content navigation