โ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);
Solved! Go to Solution.
โ2026-01-20 02:34 AM
Hi,
Could you download Archicad29 INT version (build 3000) and try whether you have the same error?
โ2026-01-20 06:27 AM
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.
โ2026-01-20 11:59 PM
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
โ2026-01-29 04:20 PM - edited โ2026-01-29 04:24 PM
Hi,
You actually found a bug in the Japanese version of AC29. It tries to load the IFC translator from the default template file, and because of an error in the resources it doesn't find it and aborts the open operation.
The bug is fixed, and is going to come out in update 1.
In the mean time, if you duplicate the default template file ("C:\Program Files\Graphisoft\Archicad 29\Defaults\Archicad\Archicad 29 ๆฑ็จใใณใใฌใผใ.tpl") and rename it to Archicad 29 ใใณใใฌใผใ.tpl the addon will work again.
Best regards,
Tamรกs