cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

ACAPI_Element_SolidOperation_Create with APIERR_NO3D

YONGWOO KIM
Participant

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);
    else
        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?

 
0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!