To add a type to a compilation unit from the compilation unit property sheet:
-
Double-click the compilation unit's browser entry to open its property sheet, and then click the Objects tab.
-
Click the Add Production Objects tool to open a selection window listing all the objects available in the model.
-
Specify objects to add to the compilation unit by selecting their checkboxes. Note that almost any model object (including other compilation units) can be added to a compilation unit.
-
Click OK to return to the compilation unit property sheet. The selected objects are now listed on the Objects tab.
-
Click OK to close the compilation unit property sheet. The selected objects are now listed beneath the compilation unit in the Browser.
You can also create a compilation unit from the property sheet of a type: