BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

How to determine a curved wall radius?

Anonymous
Not applicable
Hello,

I have an API_element object, which could be a curved wall. I would like to get the radius of this curved wall.
I did not find any attribute in API_Element nor in API_​WallType which would provide the radius.

Is this information stored in any API_* object?

Regards
1 REPLY 1
Ralph Wessel
Mentor
You can calculate the radius using the wall arc sweep angle, API_WallType.angle, and the origin/end points.
Ralph Wessel BArch
Learn and get certified!