Editing files when using sharing by reference

You can edit files when using sharing by reference.

Procedure

  1. Start IBM® Rational® Rhapsody® and open your local project.
  2. Open the Add to Model window: Choose File > Add to Model.
  3. Locate the master project and select the master .rpy file.
  4. Select the As Unit radio button and click Open to open the Add to Model from Another Project window.
  5. Select the units you want to edit:
    • Use the Ctrl or Shift key to select multiple units. You can filter the units using the Unit Type drop‑down list.
    • To include nested units, select the Add Subunits check box.
    • To include associations, aggregations, dependencies, or similar relations, select the Add Dependents check box.
  6. Select the As unit radio button, and then click OK.
  7. In the Add to Model window, select Replace existing unit and click OK. The selected units are loaded into your local project for editing.
  8. Choose File > Save to save the added units on your local machine.
  9. When you have completed the necessary changes, move the updated unit files to the master project in the common directory so that the unit files are removed from your local machine.

Results

The next time you open this project, these units will be missing. Add them as references until you need to edit them again.


Feedback