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.

how can I run APIDb_RefreshElementID in 3D view window?

Anonymous
Not applicable
bool force = true;
err = ACAPI_Database (APIDb_RefreshElementID, &elem.header, &force);

In the 3D view mode,I cannot run the code corretly.
How can I do it?
1 REPLY 1
Ralph Wessel
Mentor
QBai wrote:
bool force = true;
err = ACAPI_Database (APIDb_RefreshElementID, &elem.header, &force);

In the 3D view mode,I cannot run the code corretly.
How can I do it?
Does elem.header point to a library part instance?
Ralph Wessel BArch
Learn and get certified!