We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Create LCF programmatically.

cad developer
Contributor

Hello Graphisoft Community , 
I am looking for a way for creating LCF file using code, programmatically to import point cloud data directly into ArchiCAD. Is there any way to accomplish this? I would greatly appreciate any guidance or solutions you may have on accomplishing this task.

 

Regards,
CAD Developer.

3 REPLIES 3
scottjm
Advisor

The LP_XMLconverter is able to create LCF files files for you from a folder of objects. 

https://gdl.graphisoft.com/tips-and-tricks/how-to-use-the-lp_xmlconverter-tool

 


however you don’t necessarily need to create an LCF to work with point cloud objects, they can just be loaded as a linked folder or loaded into the embedded library. 

looking at the C++ api  reference docs, there doesn’t appear to be any api to allow you to create point cloud for archicad programmatically unfortunately. 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
cad developer
Contributor

Thank you for the reply @scottjm. I do not have binary object of my point cloud data. I have .gspc file generated from point cloud through code. How can I use LP_XMLConverter tool for the same. 

scottjm
Advisor

I believe you’ll still need to create the gspc file through the normal methods of importing a point cloud into Archicad. 
if what I believe you are intending to do is import point clouds into Archicad in some automated way I’m not aware it is possible. 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe