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
Software Engineer Speckle Systems