cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Emkave
Enthusiast

Non-existing ACAPI_Database function in ACAPI_Database.h

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?

Emkave_0-1738925232412.png

 

Emkave_2-1738925522044.png

 

Emkave_3-1738925560150.png

 

Emkave_4-1738925581582.png

 

and so on...

 

Emkave_1-1738925311536.png



 

Operating system used: Windows 11

3 Replies 3

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.

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
Emkave
Enthusiast

That does not explain why the current API documentation uses the functions that are not existing anymore

Emkave
Enthusiast

UPDATE. Found the issue with the documentation.

This part of the code in the documentation causes segfault

 

Emkave_0-1739445116991.png

 

Emkave_4-1739445512414.png

 

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

 

Emkave_5-1739446103853.png

 


Now I am totally stunned.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!