AmesimKnowledge

The Sketch menu > Category path list

Adding corporate-defined libraries

You can also have corporate-defined libraries listed in the Available categories section of the Path List dialog box.

Note

The Client for Git libraries option is described in Downloading a library.

Figure 185: Corporate-defined libraries

Warning

Do not use special characters in library paths (such as '$', '#', ';', '', '&', '"', ''', '(', ')', '|', '`' etc.) as this can cause problems for model compilation.

Setting the environment variable

In order to access the corporate-defined libraries, you need to set them up in a file indicated by a user environment variable: CORPORATE_CATEGORIES.

Figure 186: Environment variable

Corporate libraries file

The file indicated by the environment variable must be of the following format (as shown in the following figure):

  • Tag: <AMESIM_USER_CATEGORIES> This field contains the list of all the user libraries to be displayed in the Available categories section of the Path List dialog box.

  • Tag: <USER_CATEGORY> This field contains the user library you want to display. It is composed of the following:

Description: a short description of the library.

Path: the location of the library.

Figure 187: Corporate libraries file

You can copy and paste the following text to create your own corporate libraries file:

Copy

<!DOCTYPE AMESIM_USER_CATEGORIES>
<AMESIM_USER_CATEGORIES DOC_VERSION="1" AME_VERSION="10.0.0 - July 2010">
<USER_CATEGORY Description="My Electrical Categories" Path="D:/AMETest/libeb" />
<USER_CATEGORY Description="My Hydraulic Categories" Path="D:/AMETest/libhydr" />
<USER_CATEGORY Description="My Mechanical Categories" Path="D:/AMETest/libmec" />
</AMESIM_USER_CATEGORIES>

Corporate-defined libraries in the path list

Now, when you select Sketch > Category path list, the categories configured in corporate_libraries.txt are displayed in the Available categories section, under Corporate-defined libraries, as shown in the figure below. You can now add them to your Current path list, so that they are available in Simcenter Amesim.

Figure 188: Corporate libraries added to the path list

Source: https://docs.sw.siemens.com/en-US/doc/254352342/PL20250521841123434.amesim_collection.Reference/Modeling_3_6 · retrieved 2026-07-17