cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Extract column and beam polygons

YourQS
Booster

I can happily extract polygons for elements like walls, slabs, and roofs, but I have not been able to for columns and beams.   I have tried the DumpPolygon function in the examples, without much success.

 

Where can I find something like API_BodyType for columns and beams?

3 REPLIES 3
LChen
Graphisoft
Graphisoft

Hi, You can get column and beam polygons by columnSegments and beamSegments. Please check the examples code Do_Get3DOfClickedElem() in 3D_test.cpp.

HTH.

Hi, I'm afraid I can't find a file called 3D_test.cpp in any of the examples folder for AC26 or AC27, and I can't find a method called Do_Get3DOfClickedElem() in any of the files.   Could you upload the example your are speaking of?

LChen
Graphisoft
Graphisoft

Hi, Sorry, it's 3D_test.c in Examples\3D_Test folder. could you check again?