cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
EN
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
NH
Participant

ACAPI_ProjectOperation_Open returned -7003

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);
13 Replies 13
Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi,

Could you download Archicad29 INT version (build 3000) and try whether you have the same error?

Download Graphisoft Products, Updates & Add-ons

NH
Participant

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.

Tamas Polyak
Graphisoft
Graphisoft

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

Tamas Polyak
Graphisoft
Graphisoft

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!