2015-03-17 11:48 AM - last edited on 2023-08-01 01:33 PM by Doreena Deng
2015-03-18 09:59 AM
GS::UniString ifcGuid = "32vZ_y6Kf8bQUeOicmrSnx"; // string IFC Guid API_Guid apiGuid; if (ACAPI_Goodies (APIAny_IFCGuidToAPIGuidID, &ifcGuid, &apiGuid, NULL) == NoError) { GS::Array<API_Guid> elements; if (ACAPI_Element_GetElemListByIFCIdentifier (NULL, &apiGuid, elements) == NoError) { for (GS::Array<API_Guid>::ConstIterator it = elements.Enumerate (); it != NULL; ++it) { API_Element element; BNZeroMemory (&element, sizeof (API_Element)); element.header.guid = *it; if (ACAPI_Element_Get (&element) == NoError) { // now you have the element } } } }
2015-03-19 08:37 AM