We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-06-23 03:36 PM
Hi everybody,
I have a web app with my own way to structure a building's data and geometry and I want to export it to ArchiCAD.
So creating an ArchiCAD file with all elements (walls, slabs, ...) as ArchiCAD objects and download it.
Is it possible to have this custom export script on a Web API using the ArchiCAD JSON API or is there another way to achieve this?
Best,
Niklas
2023-06-25 10:18 PM - edited 2023-06-25 10:21 PM
i hope i understand you question right, but from waht i get, you want to use the ArchiCAD JSON API to get information out of Archicad, right?
That does not work with the JSON Interface, since this is a oneway communication.
https://archicadapi.graphisoft.com/JSONInterfaceDocumentation/#Introduction
but no problem! you can just write your own plugin that has that functionality with the Archicad API.
EDIT: i should have first read the documentation 😄
you can get a lot of information trough the API. like this example:
https://archicadapi.graphisoft.com/JSONInterfaceDocumentation/#GetPropertyIds
very cool.
2023-06-26 08:47 AM
Thanks for your answer @Joel Buehler
i hope i understand you question right, but from waht i get, you want to use the ArchiCAD JSON API to get information out of Archicad, right?
hm, not really I want to create more or less an "Export to ArchiCAD" for my custom logic of geometry and building elements. So it would be rather information to ArchiCAD.
All the examples that I found using the ArchiCAD JSON API is getting information from an ArchiCAD file like in your posted example getting properties from a file.
2023-06-26 09:44 AM
Ah oh, ok now i get you. thats sounds interesting!
2024-07-10 10:29 AM - edited 2024-07-10 10:30 AM
You can write your own Archicad Add-On, invoke API to get the data and will be able to create walls, slabs, morphs etc. https://graphisoft.github.io/archicad-api-devkit/index.html.
This can be a starter https://github.com/GRAPHISOFT/archicad-maze-generator?tab=readme-ov-file