We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

ACAPI_Automate() to save IFC file

Anonymous
Not applicable
Hi all,

I have compiled the Automate_Functions example of the AC15 DevKit. While most of the example functionality indeed does work, the "Save as Ifc" menu item triggers the following error message "Error in APIDo_SaveID (Ifc): ???" a little further investigation shows that the error code that is returned is -7003 or simply GSErrCodes::Error. I badly need to programmatically export IFC files from Archicad, therefore any help would be tremendously appreciated. Does anyone else experience this problem? I am using the win64 version of AC15. Thanks in advance.

Kind regards,
Thomas
3 REPLIES 3
Akos Somorjai
Graphisoft
Graphisoft
Hello Thomas,
BimThomas wrote:
Hi all,

I have compiled the Automate_Functions example of the AC15 DevKit. While most of the example functionality indeed does work, the "Save as Ifc" menu item triggers the following error message "Error in APIDo_SaveID (Ifc): ???" a little further investigation shows that the error code that is returned is -7003 or simply GSErrCodes::Error. I badly need to programmatically export IFC files from Archicad, therefore any help would be tremendously appreciated. Does anyone else experience this problem? I am using the win64 version of AC15. Thanks in advance.

Kind regards,
Thomas
This turned out to be a bug in AC15. The IFC add-on was rewritten, and this feature fell through the gap. Unfortunately there's no workaround at the moment, as the "Save as IFC" functionality is not registered as a module command.

I've entered this into our bug reporting system.

Thanks for the report,

Akos
Anonymous
Not applicable
Wow that's unfortunate. Well, thanks for investigating the issue.

Kind regards,
Thomas
Akos Somorjai
Graphisoft
Graphisoft
BimThomas wrote:
Wow that's unfortunate. Well, thanks for investigating the issue.

Kind regards,
Thomas
FYI this issue will be fixed in the next AC15 hot fix.

Best, Akos