We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-08-08 04:28 PM
Is there way to convert api_databaseunid to unistring?
Please share any suggestion.
Solved! Go to Solution.
2023-08-08 05:49 PM
urm, isnt the API_DatabaseUnId not just a struct with only a API_GUID in it?
You can retrive the guid like this: API_Guid testguid = aApiDatabseUnId.elemSetId;
you can convert the API_Guid to a GS::UniString with the API Call "APIGuidToString(aGuid)"
2023-08-08 05:49 PM
urm, isnt the API_DatabaseUnId not just a struct with only a API_GUID in it?
You can retrive the guid like this: API_Guid testguid = aApiDatabseUnId.elemSetId;
you can convert the API_Guid to a GS::UniString with the API Call "APIGuidToString(aGuid)"
2023-08-09 03:08 AM
Hi Joel,
Many thanks for your guidance.