License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

Babylon json file to gsm or furniture

kency
Enthusiast

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?

1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!