Units Loader

Home Up Next

 

 

Rose Units Loader

Before workspaces existed (before Rose 2000e), e.g. in Rose 98 it was somewhat inconvenient to manage a model with a large number of units, where one desires to load a significant subset of units as a “workspace”. For instance, with standard Rose functionality, if one desired to load a subset of 50 units from 500 in the entire model, one would have to load each desired unit separately (using the Units dialog box) – and this would be done each time Rose is started and the model is loaded. 

This problem had been alleviated somewhat in Rose 98i, because enhancements in this version have made Rose units operations more accessible. Nevertheless, each desired unit had still to be loaded manually, each time Rose was started.

Operation

The Rose Units Loader supports Workspaces. It operates as follows:

Start Rose as normal. Load a model (MDL file), and do NOT load subunits when prompted. Now, by hand, as before, load any required units, using either the Units dialog (Rose 98) or the Unit operations in the Browser window (Rose 98i). This step must be performed just once.

Once the chosen set of units have been loaded, we can save this set as a configuration using the Rose Units Loader. From Rose, select the Units Loader->Save Configuration menu choice. A dialog appears, giving you the opportunity to name the configuration, and provide an optional brief description. Once this has been entered, you may continue working as normal.

When Rose is started up for the next session, perhaps the next day, we will want to reload that configuration of units (or some other configuration we have saved). This is achieved as follows:

Start Rose as normal. Load a model (MDL file), and do NOT load subunits when prompted.

From Rose, select Units Loader->Restore Configuration. A dialog box appears, giving you a pick-list of configuration names, and their description. Select the one you want, and click OK. Rose will now load the subset of units.

Installation Prerequisites

Rose 4.5.8163 or later (although there is no particular reason why it should not also work with 8054)

The script is implemented as a VB5 executable. Therefore, it requires the VB runtimes dll, VBRUN300.DLL or later.

Quick Help

·         Do you have VBRUN300.DLL in your Windows\System directory?

Check using Windows Explorer or a DOS prompt.

·         Do you have write access to your Rose installation directory?

Units Loader stores its configurations in a subdirectory it creates in the Rose installation directory. If this is not writable, Units Loader will be unable to store its state data. Check using Windows Explorer or DOS prompt. 

Known Problems

Not tested to work with Rose Relative Paths or Pathmaps.

Features

  • Save Configuration:
    Iterates over the Rose model as loaded, and identifies the pathname of every unit loaded. This set of unit pathnames is stored in a file.

  • Restore Configuration:
    Presents a list of available configurations. When one is selected, it iterates over the list of unit pathnames stored in the file, and loads them into Rose.

Download (without InstallShield) (27 KB) (4-Feb-1999)

www.rationalrose.com/addins/rul.zip

Download (with InstallShield) (553 KB) (14-Jun-1998)

www.rationalrose.com/addins/rul_installshield.zip

 

All products mentioned are registered trademarks or trademarks of their respective companies.
Send mail to webmaster@rationalrose.com with questions or comments about this web site. 
Copyright © 1999-2000 Michael Moors
Last modified: August 01, 2000