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

How to get opened file name?

Anonymous
Not applicable
Please, advise me some method. How I can to get file Location or name simply?

Thanks.
2 REPLIES 2
Ralph Wessel
Mentor
equilibrium wrote:
Please, advise me some method. How I can to get file Location or name simply?
Take a look at ACAPI_Environment (and APIEnv_ProjectID). This call will return a data structure with the location of the open project file.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Thanks, Ralph