We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Retrieves the User Id from a Wall (see attached picture)

Anonymous
Not applicable
Hi.

I'm retreaving information from an archicad drawing using C++. I can read for example the length of a wall using the API-funktion: ACAPI_Element_GetQuantities(...).

How can I get the "User Id" value? See attatched picture

UserId_Archicad.JPG
2 REPLIES 2
Ralph Wessel
Mentor
d00_ape wrote:
I'm retreaving information from an archicad drawing using C++. I can read for example the length of a wall using the API-funktion: ACAPI_Element_GetQuantities(...).
How can I get the "User Id" value?
Take a look at the documentation for 'ACAPI_Element_Get'. You can use this function to retrieve a data structure called 'API_Element'. If the element is a wall, the user ID would be 'wall.info' in the API_Element structure.
Ralph Wessel BArch
Software Engineer Speckle Systems
Hoa Tu
Newcomer
It's in the 'info' member of the API_WallType data structure.