Localizing a Container creates a unique local "scope" in a model. This means that element names in the local region, i.e. the local scope or Localized Container, are hidden from elements outside of that region or scope. A local scope in the model can be thought of as a local region in the model.
An advantage to Localizing a Container is that element names are usually forced/required to be unique. In some cases, however, you may want to have more than one element with the same name, especially when you have a number of similar subsystems in your model. In those cases, you can "localize" Containers by right clicking Containers, choosing "Localize" and then you can use elements with the same name as long as these elements are in different Localized Containers. The icon for localized Containers is a closed (as opposed to an open) box.
A Container can be Localized by right-clicking on the Container and selecting "Localize" or by accessing the "Properties" dialog (try double-clicking on one of the Containers below) and selecting the "Localization" check box in the "Features" section.
To Open the Model File:
- Start GoldSim
- Click on the File and select Open Example...
- Browse to General Examples --> Containers
- Select the file called LocalizedContainer.gsm
Comments
0 comments
Please sign in to leave a comment.