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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!