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.

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
Software Engineer Speckle Systems