Block or library is not available in projects

Symptoms, if a block or a library is not available in existing projects:

  • The call of a block is highlighted as faulty within the →editors of an existing project and/or the block is not listed in the content assist of the editors at all.

  • The →library provided in the new version of logi.CAD 3 is only available for new projects in the project explorer.

Causes:

  • The block is a user block. The object containing the user block has been created in the folder target or src-gen of the project.

  • The block is a system block that is provided in a new library of logi.CAD 3.

  • The project has been created in a previous version of logi.CAD 3 but the new library is provided in a succeeding version.

Solutions so that the block or the blocks of the library can be used in an existing project:

  • If the block is a user block and you use logi.CAD 3 version 1.109.0 or later:
    Make sure that the folders target and src-gen of the project do not contain any objects with user blocks. If this is the case, move the blocks to a different folder of the project.
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg By default, the folders target and src-gen are not displayed within the project explorer. This is how these folders are displayed within the project explorer Click images/download/attachments/451280970/IconViewMenu-version-1-modificationdate-1598000630466-api-v2.png in toolbar of the project explorer and select Filters and Customization... In the dialog, uncheck target folder and src-gen folder (under Filter) and click OK.

  • If you use logi.CAD 3 version 1.32.0 or later:

  • If you use a logi.CAD 3 version before 1.32.0:

    • Create temporarily a new project. This project contains →linked folders in the project explorer, for instance the new library. Drag the linked folder (= the new library) from the new project into the project in which you want to use the block (see Moving resources for details). Delete the temporarily created project (removing its contents from the file system).

    • If the above solution does not succeed, switch to a new workspace. It is possible to transfer the current settings when switching the workspace. Subsequently, import the project. Then delete the original workspace (in the explorer of the operating system) during the usage of which you have detected the problem. This ensures that you do not use the original workspace by mistake again.


Symptoms if a library is not available in a new project:

When the project has been created, the following message is displayed in the error log: Link to library "name" cannot be created.

Cause:

The workspace that has been entered when starting logi.CAD 3 has been created on a different workstation. This workspace has been passed on for usage on this workstation.

Solution so that the library is provided in the new project:

  1. Close logi.CAD 3.

  2. Restart logi.CAD 3 and enter a new workspace.

  3. Create a new project. Or import the required project into this workspace.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.