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

programmatically saving

Anonymous
Not applicable
Hi!

How is possible to save a project programmatically from an ArchiCAD add-on?
Seems that can be done using Communication Manager. But in this case I have know "core" add-on MDID (Module ID) and call command's signature.
May be there is a more simpler variant, something related with ACAPI_Database or ACAPI_Goodies API??

Hope to your help.
Thanks in advance,
AT
2 REPLIES 2
Oleg
Expert
Hi,

There is APIDo_SaveID int ACAPI_Automate function set.
But I didnt try it.

Oleg
Anonymous
Not applicable
Many thanks, Oleg!

It's really works. I were not sure about this method because read in the help - "This function is used to save the content of the current window in different file formats." But if call this method with default parameters values - ACAPI_Automate (APIDo_SaveID) - all works fine.

Once more thanks!
Best regards,
AT