Undocumented AC28 API change: ACAPI_IFC_APIGuidToIFCGuid
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-08-20 11:09 AM
‎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
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-08-23 11:16 AM
‎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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-11-12 09:23 AM
‎2024-11-12
09:23 AM
Did you get this working? Struggling with the same issue here.