Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
a week ago
- last edited
Sunday
by
Laszlo Nagy
Hello. I wonder why there are lots of calls of ACAPI_Database functions in the newest Archicad API documentation when such function does not exist in ACAPI_Database.h.
Where should I get that function from if not from ACAPI_Database.h?
and so on...
Operating system used: Windows 11
a week ago
These functions have been restructured and are available in the same file as separate functions leading with "ACAPI_Database_*". Maybe in your search you've included a space instead of an underline at the end and that's why you didn't find them?
The change in naming/access of this functions was not updated in the code examples apparently.
Monday
That does not explain why the current API documentation uses the functions that are not existing anymore
yesterday - last edited yesterday
UPDATE. Found the issue with the documentation.
This part of the code in the documentation causes segfault
So overall what do we have - the outdated documentation for new archicads that does not work and the outdated documentation that also triggers syntax error and segmentation faults on older archicads.
And the syntax error is called because of lack of reference character here in the documentation
Now I am totally stunned.