License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
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.

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!