Choose your top Archicad wishes!

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

Optimizing APIDb_​ChangeCurrentDatabaseID function

Leonardo Lopes

Is there a way to optimize the performance of an Add-On that makes a lot of sequential calls of the function APIDb_​ChangeCurrentDatabaseID ?


In my case, this function is being used to switch to different layout databases.  In the API documentation there are some examples that mention that switching to another database can be a very expensive operation, but it doesn't mention a way of optimizing it.


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!