Local and Global
Containers
Each Container An element that acts like a "box" or a "folder" into which other elements can be placed. It can be used to create hierarchical models. in a model is either global or local. The contents of a global Container can be "seen" (referenced) by any other element in the model. The contents of a local Container can typically only be referenced by other elements inside the Container.
By default, Containers are global. Containers can be localized by selecting the Localization feature in the Container dialog, or by right-clicking on the Container and selecting Localize An action that you can apply to a Container that creates a separate scope for the elements in that Container.. In addition, when you paste a Container, GoldSim will localize it if the names of elements inside the pasted Container conflict with element names at the location where it is being pasted.
You can recognize a localized Container in three ways:
-
The triangle in the upper left hand corner of the Container's symbol in the graphics pane The primary portion of the GoldSim interface, where the graphical depiction of the model is shown. is red (instead of blue).
-
The icon for the Container in the browsers and the default symbol for the Container in the graphics pane is a closed box (rather than an open box):
(This image is only used for simple Containers. Localized SubSystems use a different image but retain the red triangle.) -
The tool-tip for the Container shows that it is Localized.