Copying Elements Between Model Files

In many cases, you may wish to create different portions of your model in different model files. For example, one individual may be working on one part of a model (a particular subsystem), while another is working on a different subsystem. At some point, you would then want to combine the various subsystems into a single model file.

GoldSim allows you do so by simply opening two instances of GoldSim (each with a different file), copying the desired elements (including entire Containers) to the clipboard, and then pasting them into the other model. When doing so, however, you must be aware of three points:

   Multiple objects can be copied to the clipboard at one time (e.g., you can select multiple objects and copy them to the clipboard). You can also copy an entire Container (and all of its contents) to the clipboard.

   When copying Containers between models, GoldSim will localize the Container if the names of elements inside the pasted Container conflict with those in the model into which it is being pasted.

   If you are copying elements with vector or matrix inputs or outputs between models, you must ensure that the Array Labels defining those vectors and matrices are identical in both models. If they are different, it would cause a conflict when the item is pasted, and GoldSim will issue a warning message and prevent you from doing so.

Related Topics…

Learn more about: