2022-03-25 02:32 AM
Hi,
I know duplicate library parts are always a bad idea, but I'm wondering what logic does Archicad apply to decide which library part to use in the file if it does come across two?
Also, is it always the same one gsm across every instance.
Thanks,
Scott
2022-03-25 04:49 AM
I am not sure - you would have to do a bit of experimenting to find out.
If I had to guess, I would say the first one as the libraries are loaded.
But without experimenting, that is just a guess.
When you select the object and go into the settings dialogue, you will see in the list which library it is from.
Usually it is not a problem if they are identical objects.
But if they have been modified and are now different, that will definitely be a problem.
You should then remove the duplicate that you don't want from the libraries and re-load them.
Barry.
2022-03-25 05:40 AM
In the event that you have modified an object and created a new object, such as objects within a LCF file that you have not repacked, I have found that Saving As to the Embedded will change the GUID of the object removing the duplicate. You can then export it to the relevant location and delete it from the Embedded.
The GS article on GUID says that Saving As itself should change the GUID, but I have found that this is not the case unless it is to the Embedded.
Ling.
AC22-28 AUS 3001 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2022-03-25 06:17 AM
Opening an object and 'Saving As' will create a new GSID no matter where you save it to, embedded library or a folder on your hard drive or network.
Copying an object file or renaming it through your operating system does not create a new GSID which is when you can end up with duplicates.
Barry.
2022-03-25 07:24 AM
Will have to figure out what I was doing differently then with one of my custom door leafs and an old CI object I modified a few projects back...
AC22-28 AUS 3001 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2022-03-26 12:48 AM
If I remember correctly, it is totally random which version of the Library Part Archicad will use so there is no point in trying to find some system in it. It is just best to have no duplicates in your Project File, that is the best way to handle it.
2022-03-26 05:50 AM
Thanks for the response guys! Much appreciated.
This is what I suspected @Laszlo Nagy and have experienced over the years.
2022-03-26 06:05 PM
Most of all Archicad differs between two objects by their GUID (I think introduced in v10).
So 1 name, 2 different GUIDs will work (only the detailed library loading report will warn).
BUT since GDL calls are done by name, this is still not good. The individual main objects are working flawlessly, tho.
2 names, but only 1 GUID will give you the duplication warning. In this case only the object loaded first will be used and loaded. So I don't acutally think this will be "random". The loading goes alphabetically, so if you have two folders "AAAA" and "BBBB" only the object in folder "AAAA" will be loaded with the one in "BBBB" marked as the duplicate.