Library provider and library cache

Currently, logi.CAD 3 supports the following library providers:

  • Local file system

  • Current project

Moreover, logi.CAD 3 contains system libraries as well (providing so-called system blocks and system data types). As the system libraries are provided by the system itself, the column Library provider for the list of the libraries displays the text System for the system libraries.

Good to know
  • A library provider provides the deployed libraries to the logi.CAD 3 projects for using.
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Libraries of the library provider Current project are only provided within the current project.
    If you want to store a library outside the library providers (actually: outside the valid sources; see the following table) , you must edit the library reference of the project . Details: See "Using the library reference and its syntax".

  • When a library is installed, this library is automatically unpacked within a library cache by logi.CAD 3. The system libraries (such as Standard) for the appropriate logi.CAD 3 version are automatically unpacked within the library cache when a project is created or imported. That means that there is one subfolder within the path of the library cache per installed library and per system library.

  • Later on, when an already installed library is not provided by the library provider anymore, the library is still available within the library cache. The system libraries for the previous logi.CAD 3 versions are still available within the library cache as well – even, if you do not use these logi.CAD 3 versions anymore. Therefore, logi.cals recommends that you periodically clean the library cache.

You can inspect the options for the library providers and the library cache in the preferences: menu Window, Preferences, group Library Provider, Library Provider
Moreover, the following changes are possible:

  • the source of the library provider where to find the libraries – In Library Provider, enter a different path under Source and click Apply.
    By default, the following subfolder is specified for a library provider.

    Library provider

    Subfolder

    Local file system

    subfolder logi.cals\logiCAD3\Libraries of the Windows user folder

    Current project

    subfolder library-releases of the project


    Observe the following:

    • In the case of the library provider Local file system, you are able to specify several sources : For this, specify the character ; after the existing folder and then specify another folder. Example: C:\Users\MMu\logi.cals\logiCAD3\Libraries;F:\MyLibraries -- In this case, the 1st folder is used as the default folder that is used when the library is deployed.
      Furthermore, it is possible to place libraries in a subfolder of the
      logi.CAD 3 installation directory, so that they can be installed – even without specifying this subfolder as an additional source for the library provider.
      If you are interested in this possibility, ask the administrator to configure
      logi.CAD 3 according to the instructions in the documentation "Administrator's Manual".

    • If you want to file a library directly under the project (without any subfolder), enter the path . as source for Current project. But mind that this filing might cause a worse performance when opening/importing the project.
      images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg If you change the source of the library provider, mind that the change is considered for all projects at once when a library is deployed or installed for the next time.

  • the path of the library cache – In Library Provider, click Configure Library Cache in order to open the page Linked Resources. There edit the path variable LIBCACHE_LOC, enter the requested path and click OK.
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg If the button Configure Library Cache is disabled, a configuration variable has already been defined that specifies a path for the library cache. Contact the administrator, if you want to adjust the path anyway.
    By default, the subfolder logi.cals\logiCAD3\.libcache of the Windows user folder is specified.