Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

GUID

vfrontiers
Advocate
Is it something I'm doing, or is it inherent in the system.

I've got an old part created some years back. Yesterday, I wanted to update it and SAVE as an AC12 object. All works just fine until the next time I open the file.

The old part AND the new part have the SAME GUID... so every instance of the NEW part that I placed (with new features) is now replaced by the OLD part and are missing all the new features.

These particular objects are actually LABELS, so I can't use the REPLACE w/ PARAMETERS feature of regular objects.

Anyone?
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
37 REPLIES 37
Anonymous
Not applicable
Hi Duane,

Does this link help at all? -

http://www.archicadwiki.com/Update_library_parts_with_missing_GUID?highlight=%28Template%29%7C%28ArchiCAD+12/TechNotes%29%7C%28%E2%80%A2+ArchiCAD+12%29
David Maudlin
Rockstar
Duane:

In order to change the GUID, you need to Save As... rather than Save... the library part. The same problem happens if the part is copied in the Finder (the GUID remains the same). There is a more detailed explanation here: ArchiCADWiki GUID.

HTH

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
vfrontiers
Advocate
David wrote:
Duane:

In order to change the GUID, you need to Save As... rather than Save... the library part. The same problem happens if the part is copied in the Finder (the GUID remains the same). There is a more detailed explanation here: ArchiCADWiki GUID.

HTH

David
Yes David... Parts were OPENED in the GDL editor and SAVED AS a new name...

Short of taking the old one out of the Library, I am not sure how to resolve this issue.
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
Anonymous
Not applicable
Hello Duane,
Please see this thread by Karl Ottenstein.
He describes the new behavior of library parts in AC 12
in which library parts are exclusively identified by there
GUID alone, the name is not considered.
http://archicad-talk.graphisoft.com/viewtopic.php?t=23833
So saving a library part in AC 12 under a new name does not work.
The only way I can see to get the GUID to get changed is to change
something in the library part and then save. This could be done by
creating a dummy parameter or changing the script with something
like ADDx 1 then DEL 1 and then saving. After that you could open
the library part again and delete the changes and save again.
From what I understand of what Karl is saying and the what is
said in the .pdf that Karl references this seems to be at least
one way to get the GUID changed.
Peter Devlin
Barry Kelly
Moderator
I just tried with a simple object.
"Saved as" with a new name.
GUID was identical in both.
Closed the file and re-opened and all was fine.
New objects were still new objects and old ones were still old ones.
No mention of duplicate parts in the library loading report.

I was wondering if your new lable was not saved in the loaded library when you re-opened the file - hence it substituted the old part with the same GUID.

So I moved the new object from my library and re-loaded.
Report said library part missing.
So even though the GUIDs were the same the new part was not replaced with the old part which is what I thought was supposed to happen?
It just became a missing object red dot.

Maybe lables behave differently (I don't use them which is why I tested with an object).

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Hello Barry,
Is there the equivalent of "AC 12 New US Library Features.pdf"
accessed through the Help menu in the AUS version of AC 12 ?
Maybe "AC 12 New AUS Library Features.pdf".
Have you read it ? Frankly, I am not sure if what it states as
how it works now is the same as what you observed or not.
If you have read the pdf, do you think it is saying is how it works
now corresponds to what you have observed ?
Thanks,
Peter Devlin
Barry Kelly
Moderator
Peter wrote:
Hello Barry,
Is there the equivalent of "AC 12 New US Library Features.pdf"
accessed through the Help menu in the AUS version of AC 12 ?
Maybe "AC 12 New AUS Library Features.pdf".
Have you read it ? Frankly, I am not sure if what it states as
how it works now is the same as what you observed or not.
If you have read the pdf, do you think it is saying is how it works
now corresponds to what you have observed ?
Thanks,
Peter Devlin
Hi Peter,
No we don't have that document but I have just read the US one.
It doesn't seem to be exactly what I am experiencing.

Here's a quote.

If the original object is duplicated by some method that does not use ArchiCAD’s Save As… command, its unique identifier remains the same, and ArchiCAD will consider these objects to be completely identical (because their GUIDs are identical), even if their names are different.


Now I just did a "save as" but did not modify the object so the GUID remained exactly the same.

{103E8D2C-8230-42E1-9597-46F84CCE28C0}-{1237716B-D289-456A-96DF-E82F767D5B0E}

{103E8D2C-8230-42E1-9597-46F84CCE28C0}-{1237716B-D289-456A-96DF-E82F767D5B0E}

They look pretty identical to me.

But on deleteing the new object and re-loading the library it still seemed to refer to the name and not the GUID.
Completely at odds with the opening statement in that document.

Starting with ArchiCAD 12, the program no longer considers library part names when identifying library parts.

So I don't see it happening exactly as explained.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
vfrontiers
Advocate
Peter wrote:
Hello Duane,
[clip]So saving a library part in AC 12 under a new name does not work.
The only way I can see to get the GUID to get changed is to change
something in the library part and then save. [clip]
Peter Devlin
Ok... so is it that I SAVED AS immediately and then changed the part? Because there were significant change made to it... I am not for certain sure, but it is possible that I opened the part and SAVED AS without editing [cuz I don't want to accidently save over the original as many others are still using the old one]

But clearly, the part in the plan changed BACK to the old part (name change obvious) and the new part was available in the list of labels in the label tool.

Scratching my head,
Duane

Visual Frontiers

AC25 :|: AC26 :|: AC27
:|: Enscape3.4:|:TwinMotion

DellXPS 4.7ghz i7:|: 8gb GPU 1070ti / Alienware M18 Laptop
Greg Kmethy
Graphisoft
Graphisoft
Barry wrote:

Now I just did a "save as" but did not modify the object so the GUID remained exactly the same.

{103E8D2C-8230-42E1-9597-46F84CCE28C0}-{1237716B-D289-456A-96DF-E82F767D5B0E}

{103E8D2C-8230-42E1-9597-46F84CCE28C0}-{1237716B-D289-456A-96DF-E82F767D5B0E}

They look pretty identical to me.
Barry,

Where do you check the GUID of the library parts? I just tried what happens if you open and "save as" a library part, and it did get a completely new GUID. I used the "open object by subtype" dialog to check the GUID of the parts:
Gergely Kmethy
VP, Customer Success, Graphisoft