Update Class Library

The context menu command Update Class Library loads an object or an object library into the Class Library at the Basis level.

  • You can save an object as an object file (.obj) with the command Save Object As.

  • You can save an folder as a library (.lib) with the command Make Library.

You will use Update Class Library to update an application object library, you and your coworkers are working on, with the most up-to-date classes you developed.

When loading the object file, Plant Simulation supposes that the classes in the file it is loading are the most recent ones, and replaces any existing classes with the same name in your model file. Note that this replaces the old class with the new class, but attaches any instances of the old class to the new class, and thus preserves the settings you made in these instances. This applies for classes that are located in the hierarchy directly below the newly saved class.

For classes that were saved through an inheritance relation, and that are located outside of this hierarchy below a class, Plant Simulation opens a dialog, in which you have to select to replace any duplicate classes or to rename them.

Note:

Your license determines how you can update the Class Library: When you are running a Standard License or an Application License you can only update the Class Library with objects, which you saved in a Professional License. When loading an object you can only merge Frames, when the object to be loaded was saved in a Professional License.

Related Topics

autoexecLoadObj

Update the Class Library

Configure the Class Library