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.
SOLVED!

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
LChen
Graphisoft
Graphisoft

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

View solution in original post

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?

Solution
LChen
Graphisoft
Graphisoft

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