We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2024-08-20 11:09 AM
The API function ACAPI_IFC_APIGuidToIFCGuid has been removed from the Archicad 28 SDK. There is no information about the removal and replacement. Can I get more info?
Thanks
2024-08-23 11:16 AM
Hi!
I haven't used it myself, but from the example project IFC_Test I think the new equivalent mechanism is:
API_Elem_Head head{};
head.guid = elementGuid;
auto objectID = IFCAPI::GetObjectAccessor ().CreateElementObjectID (head);
Maybe you also need GetGlobalId. Also check out IFCAPI::v1::ObjectAccessor and the mentioned example project.
Hope that helps,
Bernd
2 weeks ago
Did you get this working? Struggling with the same issue here.