Archicad Python API
About automating tasks in Archicad using the Python API.
SOLVED!

Additional JSON Commands Add-On AC26 3010 GER

Ady84a
Booster

Hallo everyone,

I tried to load the Additional JSON Commands Add-On but it doesn't work. Says that the Add-On is outdated. 

did anyone try working with the Add-On with the latest AC26 version?

best regards

SH_01.JPGSH_02.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
poco2013
Mentor

If anyone is interested:

 

Tibor has also posted the source code for his AddOn on his GitHub site. To use it in 26, you will have to re compile with the 26.3000 C++ API. I have included Tibor's code in my Python extension "data_access" -- available on my web site. 

 

data_access Python Extension 

 

The commands in Tibor's Python scripts have not changed, so they should work equally well with the 26 compile.

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27

View solution in original post

6 REPLIES 6
Barry Kelly
Moderator

Add-ons will only run in the version they were compiled for.

Was this JSON add-on compiled for version 25?

Or are you trying to use the 25 add-on?

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Solution
poco2013
Mentor

If anyone is interested:

 

Tibor has also posted the source code for his AddOn on his GitHub site. To use it in 26, you will have to re compile with the 26.3000 C++ API. I have included Tibor's code in my Python extension "data_access" -- available on my web site. 

 

data_access Python Extension 

 

The commands in Tibor's Python scripts have not changed, so they should work equally well with the 26 compile.

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27

@poco2013 

it worked! Thank you 🙂

julienK
Advocate

I have the same problem with one of my addons.

in vs2022  i  recreated the solution. the cmakeList clearly specifies AC26. made sure I'm using v142 toolset

Cleaned the solution ,  rebuild it,  no errors, but ac26 still won't accept it as a valid  addon, with the same error message as OP.

 

Any help would be appreciated.

Hi! This might be a stupid question, but I don't know how to recompile de add-on. Can you help me please? Thanks in advance