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

Optimizing APIDb_​ChangeCurrentDatabaseID function

Leonardo Lopes
Contributor

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.

0 REPLIES 0

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!