2024-07-11 12:49 PM - last edited on 2024-09-26 12:46 PM by Doreena Deng
Hello community,
Is there a way in Archicad DevKit , where we will be able to convert a babylon json content to furnitures or gsm files?
For example this is the sample furniture https://playground.babylonjs.com/#YIU90M#1390
and the corresponding babylon file is uploaded here
https://d23g6qii944o5c.cloudfront.net/media/media/objects/Barcelonachaire.babylon
We were thinking of writing code to convert the json and render it as a Morph and then convert the morph to gsm using the ACAPI_ProjectOperation_Save function. Any better solution?
2024-07-11 01:00 PM
Hi kency,
A couple of options:
- as this is exported from Blender, you can try to use a different format that can be directly imported into Archicad objects
- you may also create objects (I mean library parts) directly from the API—just convert the incoming geometry and materials into a GDL script.
What do you think?
Akos