cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

ACAPI_ProjectOperation_Open returned -7003

NH
Participant

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);
12 REPLIES 12
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

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.

tpolyak
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

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!