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

Api_WallType bad documentation AC12

Anonymous
Not applicable
In the documentation of ac12 sdk the Api_WallType have the windInd and the doorInd, but in the header not are present
3 REPLIES 3
Ralph Wessel
Mentor
arete wrote:
In the documentation of ac12 sdk the Api_WallType have the windInd and the doorInd, but in the header not are present
There are a number of instances where the documentation has not kept up, but this one is easy to resolve. Doors and windows were previously in a linked list, but now all doors/windows associated with a given wall are stored in yet another memo structure (look for APIMemoMask_WallDoors). It's an advantage really - easier to navigate than the linked list.
Ralph Wessel BArch
Active Thread Ltd
Anonymous
Not applicable
Was is the api for retrive the window and door of wall???
Karl Ottenstein
Moderator
arete wrote:
Was is the api for retrive the window and door of wall???
Have you looked at ACAPI_Element_GetMemo, ACAPI_Element_GetMemoIndex, API_ElementMemo, etc ... and have you read the page titled "Element Overview"?

Karl
AC 28 USA and earlier   •   macOS Sequoia 15.3, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
One of the forum moderators