To access the code in the external files, create relations
to them (such as dependencies with «Usage» stereotypes,
generalizations, associations, and so on). The resultant source code
will automatically contain the correct #include statements
for the external elements.
In the Features window for the configuration, set
the scope to Selected Elements, and verify that the external
files are not checked.
When you generate code that includes relations to
external elements:
- Dependencies are converted to #includes.
- Generalizations are converted to inheritance and #include.
- Associations are converted to data members and #includes.
- Types are converted to type and #include.
- Objects and parts are instantiated.
Once you have created the external elements, you
can edit the code using the Edit menu, edit options in the menu, or
active code view window, just as you do for any IBM® Rational® Rhapsody® code.