How to detect and fix issues related to missing Libraries with the help of a real-life Archicad project.
The situation: We have a pln file created in Archicad 10. It was migrated into Archicad 19 and has been saved as a pla. The file was opened in Archicad 19 again, but no Libraries were added to the project because all the used Library Parts were embedded into the file. After editing the project the file was accidentally saved as a pln. Elements of the Embedded Library were also removed. Now we want to open the file in Archicad 22. When opening the file the Library Manager will pop up, because no Library is added to the project.
- Add the Archicad 22 Library by clicking on the ’Add’ button.
- Navigate to the Archicad Application folder.
- Select Archicad 22 Library
- Click on 'Choose'
- Then click ok.
The Library Loading Report will pop up showing a lot of missing elements:
Let’s go through all of them one by one, find and fix them.
Archicad Library 19
Most of the used Library Parts are coming from Archicad 19, but the Archicad 19 Library is not available, only the Archicad 22 Library. So the Library Parts need to be updated (=migrated) to the newer version. Before you migrate your project, please always check the Migration Guide.
- Open the Library Manager (File/Libraries and Objects/Library Manager)
- Click on the 'Migrate' icon
- Select 'Migrate' from the pop-up
- Click ok
Favorites
If an element, which uses a GDL object (like a Zone that includes a Zone Stamp), is saved as a Favorite and the GDL Object is missing from the Library, the Library Loading Report lists it under ’from Favorites’. (Those elements are shown on the Favorites Palette with a question mark as well.) If you check those elements in the Loading Report, you will see that after a number is written, for example, '10' or '12'. It means that the missing Library Parts are coming from Archicad Library 10 and 12.
Add the Old Migration Libraries to the project as well. The folder is located in the Archicad Application folder.
- Open the Library Manager (File/Libraries and Objects)
- Click on the ’Add’ button
- Select ’Old Archicad Migration Libraries’ from the Archicad Application folder
- Click ok
Embedded Library and *.pla
The Embedded Library mostly contains custom-made Objects. If you can find the custom Objects saved somewhere on your machine or in other projects, they can be
added to the Embedded Library, or to an
LCF file can be created and
added as a Linked Library to the project. Keep the number of Library Parts in the Embedded Library low. If there is no chance to get those elements, they need to be deleted or replaced in the project. Let's see how to detect the missing elements.
How to find missing Objects?
Two Tools can be used for this purpose "Find and Select" and "Interative Schedule":
Interactive Schedule
If you use the Interactive Schedule it doesn’t matter if the Object is a 2D element or a 3D element, you can list all of them at once, where you can edit or delete them one by one.
- Create a New Schedule
- Open the Scheme Settings and click on 'New' (Documents/Schedules/Scheme Settings)
- Add a name and click Ok
- Define the Criteria and Field
- Criteria: Element Type is Object
- Fields: Library Part name and Element ID
- Click ok
- Select the missing Object in the list (identify it by its name) and click on the Select on Floor Plan icon to view the element in the 2D
Attributes
The listed Attributes are missing because they are not part of the Archicad Library, they are custom elements/pictures/surfaces added to the project. They can be added to the Embedded Library or compressed into an LCF File, linked to the project. If their source is lost, they need to be either replaced or deleted from the project. Select a missing Attribute in the Library Loading Report (Window/Palettes/Library Loading Report) and click on the Info button. It will show the name of the Surface using it as a texture.
- Open the Surfaces Dialog (Options/Element Attributes/Surfaces)
- Select the Surface
- Replace the Texture by clicking on ’Search’ and add a similar Texture from the listed Libraries to the Surface
Since Archicad 22 the Texture of the Surface can be easily removed or replaced in the
Attribute Manager (Options/Element Attributes/Attribute Manager) as well.