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.

API_Gable(Plane coefficients)

Anonymous
Not applicable
Could you please explain the plane coefficients

a, b, c, d - Plane coefficients relative to the parent element.

What is parent element and where is its origin? I mean in which coordinate system the plane is specified.

See GS.APIDevKit.1033/APIDoc/APIHTMLLibrary/Structures/API_Gable.html
2 REPLIES 2
Oleg
Expert
I never used it therefore I can guess only.
I hope somebody from GS will state it more definitely.

I think a parent element is the cutted element which contains gables array (handle) in the API_ElementMemo structure ( wall, column, object etc ).
And the plane equation coefficients are relative the local coordinate system of this element.
Otherwise I think it would be required to recalculate coefficients at every moving or rotation of the element.
Anonymous
Not applicable
I have used this when getting the planes that represent the top of the wall after it is cut to roof.

To get a point on the plane use this formula:
ax + by +cz + d = 0

ie. plug in x and y and you will get the z value at that coordinate, etc.
Learn and get certified!

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!