Creating a Custom Library from a Model
You can create a custom library from an existing MapleSim model.
To create a custom library from a model:
Save the model.
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.
(Optional) If your custom library contains documentation, from the Tools menu select Create Library & Documentation.
The type of custom library (that is, a standard or version controlled) will be the the same as the file format of the model. That is, .msim models will always generate standard .msimlib libraries, and .base_msim models will always generate version controlled .base_msimlib libraries.
To see the documentation for a component, right-click (Control-click for Mac) the component on the Model Workspace and select Help on componentName. Your preferred web browser opens displaying the documentation.
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).
Creating a Custom Library
Updating a Custom Library
Revision Control Support for Models and Libraries
Version Controlled MapleSim Model File Format
Creating a Version Controlled Model
The MapleSim Window
Download Help Document
What kind of issue would you like to report? (Optional)