To have an overview on the 3D model of Archicad, and how the 3D database fits into the entire database system please refer to the Element Overview chapter.
Only the handler functions are explained in full detail here.
Handler functions
All of the 3D handler function begin with the ACAPI_3D_ prefix. This function family gives support to query the 3D database. Modifications are not supported in this version of the API; you have no possibility to change the 3D model. Refer to the functions below to have details on these topics.
ACAPI_3D_GetNum
ACAPI_3D_GetComponent
ACAPI_3D_DecomposePgon
ACAPI_3D_CreateSight
ACAPI_3D_DeleteSight
ACAPI_3D_SelectSight
ACAPI_3D_GetCurrentWindowSight
ACAPI_3D_GetCutPolygonInfo
General Error Codes
APIERR_BADID |
invalid reference; |
APIERR_BADINDEX |
invalid reference; |
APIERR_DELETED |
invalid reference; |
The recommended way of accessing the 3D Model is now illustrated in the ModelAccess example.