Archicad C++ API
About Archicad add-on development using the C++ API.

Can't load sample, even with Developer ID

Anonymous
Not applicable
I'm starting to develop an Archicad 14 Add-On and I think this beginning is kind of hard.

I have a Developer ID, I already got the "AddOnAdmin" output numbers and put them in grc file (3D_TestFix.grc). I am trying to load that sample, "3D_Test", but even after compiling it and copy the "3D_Test.bundle" from the Debug folder to the Add-Ons folder, this thing is still red at "Add-On Manager" (Add-On info: This add-on cannot be validated. Please contact the distributor).

I tried some solutions to similar problems described here in the Developer Forum, but I couldn't fix it and I'm going mad because of it.
I don't know what I have to do anymore.
5 REPLIES 5
Karl Ottenstein
Moderator
I haven't done this in a couple of years ... but in case things are the same as they used to be, this might help...

When I got my Developer ID, it was a four character text string. This string is not acceptable as the MDID in the grc file - it had to be converted to a numeric hex value of the form 0xAABBCCDD where AA is the hex encoding for the first character of the dev id, etc.

I'm guessing that might be the issue you're seeing?

(You also have to generate a unique add-on ID from your dev ID.)

Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Karl wrote:
When I got my Developer ID, it was a four character text string. This string is not acceptable as the MDID in the grc file - it had to be converted to a numeric hex value of the form 0xAABBCCDD where AA is the hex encoding for the first character of the dev id, etc.
I did this, Karl.

Karl wrote:
(You also have to generate a unique add-on ID from your dev ID.)
And also did this.


But, when I'm going to add the Add-On to the Archicad, it can't be validated, or maybe Archicad can't recognize the *.bundle as an Add-On. But if I put the IDs correctly, compiled the bundle correctly, why can't it be validated?

I hope I'm not bothering you.


regards,

Fred.
Karl Ottenstein
Moderator
Hopefully someone with more recent experience will reply... I cannot remember if you need to rename the '.bundle' to '.apx' or something...or if that is just aesthetic. Been too long for me to remember...

Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Ralph Wessel
Mentor
fredfreitas wrote:
I have a Developer ID, I already got the "AddOnAdmin" output numbers and put them in grc file (3D_TestFix.grc). I am trying to load that sample, "3D_Test", but even after compiling it and copy the "3D_Test.bundle" from the Debug folder to the Add-Ons folder, this thing is still red at "Add-On Manager" (Add-On info: This add-on cannot be validated. Please contact the distributor).
It's most likely to be a problem with the add-on's resources - either the compiler isn't generating the right information or the resources aren't linked into the add-on.

First check the resource compiler output (.ro files) and confirm that the correct developer/add-on IDs are present.

If that checks out, use DeRez to confirm that the add-on resources are present and correct.

Also, which compiler (and version) are you using?
Ralph Wessel BArch
Active Thread Ltd
Anonymous
Not applicable
well, I am here to close this topic. I thought I was doing all those steps to validate my Add-On correctly, so I thought the Archicad could be damaged for some reason. I reinstalled it and my issue was resolved. Anyway I would like to thank everyone for helping me.