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.
SOLVED!

Archicad 29 SDK problems with ResConv.exe

SimonWeinberger
Newcomer

Currently upgrading our addon to AC29. Here is a note to anyone using ResConv.exe tool explicitly, which took me quite a while to find out:

 

Calling ResConv.exe (of 29.3000 SDK) without the new -sc parameter produces empty output files, which makes AC crash at some point. As I understand it, -sc is only used on Mac, and in fact you can pass any value, which is not used on Windows. Therefore I consider this a bug that is hopefully fixed in some later SDK release.

 

If you use the official cmake-tools scrips then everything works out of the box, the parameter is added automatically, see here. The passed file does not exist, there is no error message, but the -sc parameter can't be omitted.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Mihaly Palenik
Graphisoft
Graphisoft

Hello,

You are both correct. The intention was as @Ralph Wessel mentioned, but without a crash. With Archicad 29.0.1 hotfix, there will come a new APIDevKit release, which will contain the fix, and it won't be a mandatory parameter on Windows.

 

Sorry for the inconvenience!

View solution in original post

2 REPLIES 2

The additional parameters are for generating dark-mode equivalents for any add-on image/icon resources. While this is currently only relevant to macOS targets, I think it's reasonable to assume this could become cross-platform in future. Also, building add-ons cross-platform is simpler if you minimise differences in calls. I see this as forward-looking rather than a bug.

Ralph Wessel BArch
Central Innovation
Solution
Mihaly Palenik
Graphisoft
Graphisoft

Hello,

You are both correct. The intention was as @Ralph Wessel mentioned, but without a crash. With Archicad 29.0.1 hotfix, there will come a new APIDevKit release, which will contain the fix, and it won't be a mandatory parameter on Windows.

 

Sorry for the inconvenience!