Archicad C++ API
About Archicad add-on development using the C++ API.

How to find ArchiCAD GUID using IFC GUID?

Anonymous
Not applicable
I need to find matching IFC building elements in ArchiCAD. How to find ArchiCAD Guid using IFC GUID? Is there any ways to find building elements using IFC GUID or convert IFC GUID to ArchiCAD GUID?

Happy New Year 2009!

Here is some detail info:

Building elements in ArchiCAD have GUIDs like
"21974D09-5A68-4069-B7-97-56F22EA20C2A".

Building elements in IFC models exported by ArchiCAD have IFC GUIDs like
"0P8FGz4d914fdMAwU0Y$$9"
and some of them but not all have ArchiCAD GUIDs in IFCELEMENT.tag field.
At least IFCSPACE (no tag field), IFCDOOR, IFCWINDOW are missing the ArchiCAD GUIDs. That is why the ArchiCAD GUID in tag is useless.
4 REPLIES 4
Laszlo Nagy
Community Admin
Community Admin
I do not know of a way or a tool to do such a conversion between IFC GlobalID and ArchiCAD GUID.

I checked a Window Settings Dialog and it seems there that both the IFC GlobalID and ArchiCAD GUID are displayed and checked by default.
Are you saying that when this is exported from ArchiCAD, the GUID is lost?
IFC_GlobaID-AC_GUID.png
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Anonymous
Not applicable
You are right. I tested this again and the ArchiCAD GUID for doors and windows exported to 'tag'. My settings were maybe wrong.

The zones are still a problem. IFCSPACE has no tag field and the ArchiCAD GUID is not exported to the ifc file. The IFCSPACES have only the IFC GUID and I have not found a way the from IFC GUID to ArchiCAD GUID.
Laszlo Nagy
Community Admin
Community Admin
Yes, it seems like there is no such field for Zones.
Must be a design decision I do not know the reason of.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Anonymous
Not applicable
Hello,

I tried last week to pick up the GLOB_INTID value of a zone object for listing purposes, but seems like it does not have it.


--
Regards, Juha