One of my zone is ended up with hole but I am getting element.zone.poly.nSubPolys = 1. And I am using Archicad 9.0.
I am trying to use ACAPI_Goodies(APIAny_TriangulatePolyId, &memo, &coords); I am getting APIERR_REFUSEDPAR error. I checked for zone.poly structure nCoords = 22, nSubPolys =1 and nArcs = 0, poly_id = 1298. So, there are no arcs in the poly.
I am giving example zone polygon with coordinate values and can you please tell me why this command is failing?