6 listing component models - cross ref, 7 deleting models - delete – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 135

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Grafx Editor 115

4.2.9.2.5 Applying Submodel Changes - RELOAD and RELOAD ALL

The Reload option on the File pull-down menu is used to reload a currently displayed graphic or submodel
in the Working View of the selected child window, applying any changes that have been made to the sub-
models referenced by it.

For example, assume that two child windows are open within the Grafx editor window. In child window 1 is
a graphic called BUTTON_PAD which contains 10 pushbuttons, all created using a submodel named
toggle_pb. To change the face color of all buttons which reference this submodel, it is necessary only to
change the configuration of the submodel. To do so, select child window 2 and load the submodel
toggle_pb. Next, change the face color definition via Submodel Configuration (as described in the sub-sec-
tion

Section 4.3.2, Configuring Submodels

) and save the changes to the submodel. Note that the

instances of the submodel in the graphic BUTTON_PAD in child window 1 still reflect the original button
face color. Select child window 1, then click on Reload in the File menu. The face color will be changed on
all pushbuttons which reference the submodel toggle_pb.

If several child windows are open which reference the same submodel, it is necessary to use the Reload
All menu option to update the multiple windows.

4.2.9.2.6 Listing Component Models - CROSS REF

Click on the sequence File > Cross Ref to display a cross reference list of all MicroMod and user-defined
models which:

are used as components of the current model

which use the current model as a component

The Cross Reference window displays the model name and, if it is an installed graphic, the index number
under which it is installed. The list of submodels which are components of the current model are found in a
list box labelled References To. The list of models which use the current submodel as a component are
found in a list box labelled Referenced By.

Clicking on the name of a referenced model opens a new child window containing that model.

Click on Close to remove this pop-up window from the screen.

4.2.9.2.7 Deleting Models - DELETE

To delete a model (off-line or installed, graphic or submodel), click on the Delete option from the File menu.
The Delete Model window is displayed.

Select the model category (Offline Submodel, Installed Submodel, and so on). In the list box, click on the
item to be deleted. (If the Preview check box is selected, an image of the selected submodel appears in
the preview box.) Click the DELETE button. A pop-up window will appear which states:

Looking for references to submodel.

If Cancel is clicked, the search will be terminated. If Cancel is not clicked, the operation will continue. If no
references to the installed submodel(s) are found, the window will close and the submodel(s) will be
deleted. If references are found, the Cancel pop-up window will close and a WARNING pop-up window will
appear with text similar to the following:

WARNING! <submodel name> is referenced by:
graphics: <reference_1>, <reference_2>, <reference_3>
submodels: <reference_1>, <reference_2>, <reference_3>

Note

A graphic or submodel must have a name (i.e., it must have been
saved) before the Reload operation can be performed successfully
on it.

Advertising