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

Converting e57 , xyz to LCF using ArchiCAD API ?

cad developer
Contributor

Hello Graphisoft Community,

I'm exploring options to convert different file formats into LCF (Library Container File).

Is there a straightforward method or API available to convert point cloud files into LCF format?

If there are any available libraries, or resources that can aid in this conversion, I would greatly appreciate any insights or recommendations.
Thank you,
Cad Developer

3 REPLIES 3
Joel Buehler
Enthusiast

well there must be a way since the swiss archicad comes with plugins that do exactly this...

 

JoelBuehler_0-1708940028622.png

 

https://www.idc.ch/archicad/keymember/swisstools/

 

but your question was if there is a api call that does excatly that. i dont think so. you need to write a interpreter. create mashes. create a library part from the mesh and so on... 

cad developer
Contributor

Hello @Joel Buehler ,

Thank you for your prompt response. Could you please provide further details on creating points using meshes? Sample code related to this would greatly help me understand.

Additionally, I'm curious about the process of drawing a 3D point in ArchiCAD through code. Any guidance you can offer on this matter would be sincerely appreciated.

CAD Developer.

haha, i thought its a easy one. but after some research i dont think so anymore. this thread is an intresting read:

 

https://community.graphisoft.com/t5/Archicad-C-API/e57-convert-to-GSPC-the-only-way-to-import-Point-...

 

Seems there was a way for add-ons to create the gspc file that is needed for a point cloud library part. 

but im not even able to find the referenced document "Import Point Clouds from ArchiCAD Add-Ons"

 

furthermore im i not to sure if it is possible to draw a single point of a point cloud like the ones we have i a point cloud library part. i at least dont even know how to draw one of those manually in archicad.  

 

that we are on the same page, we speak about one of those points, right?

JoelBuehler_0-1713966304010.png