We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

ACAPI_Element_GetPropertyValues: CGAmbiguity and CGError when getting element property values?

Anonymous
Not applicable
When I try to get element property values exceptions are thrown, CGAmbiguity and CGError. I have tried using the functions ACAPI_Element_GetPropertyValues and ACAPI_Element_GetPropertyValuesByGuid, using the example code provided in the documentation, modified with two filters for visible and available definitions (attached below). For the first element the function ACAPI_Element_GetPropertyDefinitions finds 162 property definitions, and when I try to get the property values I get the exceptions attached at the end of this post (a lot of lines attached, but maybe it can help resolving the problem).
As a consequence, it takes a very long time for me to extract element property values, and it is virtually not possible to run my addon. Has anyone run into the same problem, does anyone know how to resolve this problem?

GSErrCode GetAllPropertyValues (const API_Guid& elemGuid, GS::Array<API_PropertyValue>& values)
{
    GS::Array<API_PropertyDefinition> definitions;
    GSErrCode error = ACAPI_Element_GetPropertyDefinitions (elemGuid, API_PropertyDefinitionFilter_All, definitions);
    if (error == NoError) {
	    GS::Array<API_PropertyDefinition> propertyDefinitionList;
        for (UInt32 i = 0; i < definitions.GetSize (); i++) {
            if (ACAPI_Element_IsPropertyDefinitionVisible (elemGuid, definitions.guid) && ACAPI_Element_IsPropertyDefinitionAvailable (elemGuid, definitions.guid)) {
                propertyDefinitionList.Push (definitions);
            }
        }
        GS::Array<API_Property>  properties;
        error = ACAPI_Element_GetPropertyValues (elemGuid, propertyDefinitionList, properties);
        if (error == NoError) {
            for (UInt32 i = 0; i < properties.GetSize (); i++) {
                if (properties.isDefault) {
                    values.Push (properties.definition.defaultValue);
                } else {
                    values.Push (properties.value);
                }
            }
        }
    }
    return error;
}

GSErrCode GetAllPropertyValues (const API_Guid& elemGuid, GS::Array<API_PropertyValue>& values)
{
    GS::Array<API_PropertyDefinition> definitions;
    GSErrCode error = ACAPI_Element_GetPropertyDefinitions (elemGuid, API_PropertyDefinitionFilter_All, definitions);
    if (error == NoError) {
        GS::Array<API_Guid> propertyDefinitionList;
        for (UInt32 i = 0; i < definitions.GetSize (); i++) {
            if (ACAPI_Element_IsPropertyDefinitionVisible (elemGuid, definitions.guid) && ACAPI_Element_IsPropertyDefinitionAvailable (elemGuid, definitions.guid)) {
                propertyDefinitionList.Push (definitions.guid);
            }
        }
        GS::Array<API_Property>  properties;
        error = ACAPI_Element_GetPropertyValuesByGuid (elemGuid, propertyDefinitionList, properties);
        if (error == NoError) {
            for (UInt32 i = 0; i < properties.GetSize (); i++) {
                if (properties.isDefault) {
                    values.Push (properties.definition.defaultValue);
                } else {
                    values.Push (properties.value);
                }
            }
        }
    }
    return error;
}

GetElementProperties: ACAPI_Element_GetPropertyDefinitions: NoError: The function has completed with success (0).
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7768.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7768.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7768.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7768.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF6150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF5EF0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7508.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7508.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF5EF0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF5DD0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7478.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEF7478.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF5DD0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF5E60.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF91F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF91F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF9578.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF91F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9518.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9518.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADCF98A0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADCFAEB8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADCFAEB8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADCF98A0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F9BC0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F9BC0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F94E8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF90D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F95B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9518.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9518.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9518.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9630.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF9690.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADBFACA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9920.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADBF9690.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9920.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9920.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F95B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9920.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F95B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F95B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F95B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE4F96D0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE4FACE8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9560.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9560.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD5F95F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD5FAC08.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD5FAC08.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9448.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD5F95F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD5F94D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD6F9808.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD6FAF38.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9448.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9448.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9560.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADEFAB78.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9560.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADEF9448.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F9AA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F9AA8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDACDF96B0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDACDFB168.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDACDFB168.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDACDF96B0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9B60.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9B60.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9B60.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9B60.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE3FB178.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADCF98A0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADCFAEB8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE3F9A48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADCFAEB8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADCF98A0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9AA0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD4FB0B8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9AA0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD4F9988.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F96E0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAE7FB1D8.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDADDFAC48.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F96E0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAE7F96E0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDADDF9150.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD5F95F0.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD5FAC08.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGError at memory location 0x000000BDAD5FAC08.
Exception thrown at 0x00007FFAF93B9129 in Archicad.exe: Microsoft C++ exception: GS::CGAmbiguity at memory location 0x000000BDAD5F95F0.
GetElementProperties: ACAPI_Element_GetPropertyValues: NoError: The function has completed with success (0).
4 REPLIES 4
Ralph Wessel
Mentor
Which version of ARCHICAD are you targeting? The calls for retrieving properties have changed significantly since the were first introduced.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
I am currently targeting ARCHICAD 22. Yesterday I changed the routine such that I get the properties one at a time, by using the function ACAPI_Element_GetPropertyValue instead of the function ACAPI_Element_GetPropertyValues. The routine is attached below. I found, by stepping through the routine, that I only get the exceptions CGAmbiguity and CGError for some of the elements in the array "definitions" in the routine. I will try step through and compare the data for each element, to see if I can locate the cause.
Still I hope, that you or others are able to help with this problem?

Thank you 🙂
GSErrCode GetAllPropertyValues (const API_Guid& elemGuid, GS::Array<API_PropertyValue>& values)
{
    GS::Array<API_PropertyDefinition> definitions;
    GSErrCode error = ACAPI_Element_GetPropertyDefinitions (elemGuid, API_PropertyDefinitionFilter_All, definitions);
    if (error == NoError) {
	    GS::Array<API_PropertyDefinition> propertyDefinitionList;
        for (UInt32 i = 0; i < definitions.GetSize (); i++) {
            if (ACAPI_Element_IsPropertyDefinitionVisible (elemGuid, definitions.guid) && ACAPI_Element_IsPropertyDefinitionAvailable (elemGuid, definitions.guid)) {
				API_Property property;
				error = ACAPI_Element_GetPropertyValue (elemGuid, definitions.guid, property);
				if (error == NoError) {
				    if (property.isDefault) {
					    values.Push (property.definition.defaultValue);
				    } else {
					    values.Push (property.value);
                    }
				}
            }
        }
    }
    return error;
}
Anonymous
Not applicable
I'm not using your filters but this works for me (ArchiCAD 22):

API_Guid elementGUID;
GS::Array<API_PropertyDefinition> definitions;
GS::Array<API_PropertyValue> property_values;
GS::Array<API_Property> properties;

GSErrCode error = ACAPI_Element_GetPropertyDefinitions (elementGUID, API_PropertyDefinitionFilter_UserDefined, definitions);

if(error == NoError){
    for (UInt32 j = 0; j < definitions.GetSize (); j++) {
        API_Property property;
        property.definition = definitions;

        properties.Push (property);
        
        ACAPI_Element_GetPropertyValue(elementGUID, definitions.guid, property);
        properties.Push (property);     // push property to array
        
        if (property.isDefault) {
            property_values.Push (definitions.defaultValue.basicValue);
        } else {
            property_values.Push (property.value);
        }
    }
}else{
    WriteReport("could not get property definitions");
}
Anonymous
Not applicable
Thank you. It looks like I am trying to do the same as in your code. By stepping through my code attached in my last post, I have found out that for each element, it seems to be entry i = 21 in array definitions\[i\] that generate the exceptions, when calling ACAPI_Element_GetPropertyValue in line 11 in my code attached in the former post.
I found out that for entry i = 21 I have definitions\[i\].name = "Colliding Zones Names", does anyone know if this is the cause of the exceptions thrown, and where this name comes from?

One remark about your code:
It seems like you are pushing the same instance of API_Property (defined in line 10) to your array "properties" two times, line 13 and line 16. It might make sense in your context, but If I am not mistaken, then you should remove line 13?

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!