BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

ACAPI_Element_SolidOperation_Create with APIERR_NO3D


I convert some element to morph(using api). Converting is working well.


But few element's body is not one, I have to perform solid operation.


When I perform solid operation(ACAPI_Element_SolidOperation_Create), I got -2130313015(APIERR_NO3D) err code.





for (int j = 0; j < morphElemList.GetSize() - 1; j++)
    if (solidGuid.GetSize() == 0)
        err = ACAPI_Element_SolidOperation_Create(morphElemList[j], morphElemList[j + 1], APISolid_Add, &solidGuid);
        err = ACAPI_Element_SolidOperation_Create(solidGuid[0], morphElemList[j + 1], APISolid_Add, &solidGuid);





Archicad 24 and morphElemList is GS::Array<API_Guid> and it has converted morph guid.


Is this an error that occurs because it is executed within one ACAPI_CallUndoableCommand?


Is there any solution?

Learn and get certified!

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!