BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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.

Learn and get certified!

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!