Converting a Version Controlled Library to a Standard Library - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : MapleSim : Using MapleSim : Building a Model : Revision Control Support : Revision Controlled Libraries : Converting a Version Controlled Library to a Standard Library

Converting a Version Controlled Library to a Standard Library

You can convert a version controlled custom library to a standard custom library. The conversion process requires that you first export the library to a model, and then export the model to a library.

To convert a version controlled library to a standard library:


Open the version controlled library for editing.


From the Tools menu, select Export to MapleSim Model.


Browse to the directory in which you want to export the model.


Enter a name for the file and click Save.


From the Tools menu, select Export to MapleSim Library.


Under Package enter a name for the library.  The name must be unique and cannot contain spaces.  No other user library or Modelica-imported library can share the package name.


Select a directory to save the library in from the Location list. (You cannot edit the entries in this list. See the notes section for information on how to add entries to the Location list.)


Optionally, enter a description.


Click OK.  A custom palette with the specified name appears in the Library Components tab ( ). This palette will appear in the window the next time you start MapleSim.  Custom palettes are indicated with an icon:

You are now in library edit mode. The Properties tab ( ) on the right of the main MapleSim window summarizes the name, location, description, and creation date of your custom library.  Additionally, a watermark with the library's name is displayed on the workspace.


Note: Custom libraries are saved to a default location.  To save a custom library to a different location, you must add the following flag to the maplesimlauncher.l4j.ini file:
where pathnames is a string containing one or more locations.  On Windows, for example, this flag could be -DMapleSim.LibraryPath="C:/myLib;Z:/shared/MapleSimLibs"
When MapleSim is started with this flag, the Create Library dialog will list these two library location paths in addition to the default location.
The maplesimlauncher.l4j.ini file is located in the <Maple>/toolbox/MapleSim/bin.<SYS> folder, where <Maple> is your Maple installation directory and <SYS> is your system platform (for example, X86_64_WINDOWS).

See Also

Revision Control Support for Models and Libraries

Version Controlled Library File Format

Creating a Version Controlled Library

Updating a Custom Library

Converting a Subsystem into a Shared Subsystem

Opening a Version Controlled Model or Library

Exporting a Custom Library to a Model

Importing Modelica Models and Libraries

The MapleSim Window