2019-07-24 01:33 PM - last edited on 2022-10-05 01:23 PM by Daniel Kassai
Exception thrown at 0x000000000033203A in Archicad.exe: 0xC0000005: Access violation executing location 0x000000000033203A. occurred
static int GetNumberOfOperators() { int size = 0; GSErrCode err = NoError; GS::Array<API_Guid> allElements; GS::Array<GS::UniString> currentOperators; ACAPI_Element_GetElemList(API_ZombieElemID, &allElements); for (const API_Guid& guid : allElements) { GS::Array<GS::UniString> allOperators; API_Guid** guid_Operators = nullptr; Int32 nLinks; bool insert = true; err = ACAPI_Element_SolidLink_GetOperators(guid, &guid_Operators, &nLinks); if (err != NoError) continue; for (int i = 0; i < nLinks; i++) { GS::Guid nGuid = APIGuid2GSGuid(guid_Operators[0]); GS::UniString sGuid = nGuid.ToUniString(); for (USize a = 0; a < currentOperators.GetSize(); a++) { if (sGuid == currentOperators) insert = false; } if (insert) { allOperators.Insert(i, sGuid); currentOperators...
2019-07-24 03:14 PM
2019-07-24 03:15 PM
Akos wrote:
Hi,
This is the correct line:
GS::Guid nGuid = APIGuid2GSGuid((*guid_Operators));
Best, Akos
GS::Guid nGuid = APIGuid2GSGuid((*guid_Operators));
2019-07-25 12:18 PM
2019-07-25 02:44 PM
2019-07-26 09:46 AM
AC21-2019-07-26-09-42-25-4517
2019-07-26 01:38 PM
2019-07-30 11:05 AM
AC21-2019-07-30-11-04-47-2331
2019-08-01 05:00 PM