2025-12-04 05:58 AM
The following code for loading IFC files, which worked in ArchiCAD 28, now returns error -7003 in ArchiCAD 29.
The same procedure works fine with pln files.
What could the problem be?
API_FileOpenPars fop;
BNZeroMemory(&fop, sizeof(API_FileOpenPars));
fop.fileTypeID = APIFType_IfcFile;
fop.useStoredLib = true;
GS::UniString IfcFile = <The correct Ifc file path>;
IO::Location IfcLoc(IfcFile.ToCStr());
fop.file = &IfcLoc;
err = ACAPI_ProjectOperation_Open(&fop);
Tuesday
Hi,
Could you download Archicad29 INT version (build 3000) and try whether you have the same error?
Tuesday
It worked fine with Archicad29 INT version (build 3000).
The same add-on fails with Archicad29 JPN version (build 3000) and returns error -7003.
Is this a problem limited to Archicad29 JPN?
Please check.
Tuesday
Hi!
I've checked in the JPN version and the command fails for me too, while the same addon works in INT.
I'll investigate it some more, and report it if it turns out to be a bug.
Regards,
Tamás