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

API get the Concrete formwork area question?

leilei
Enthusiast
Hi !!
Can someone help me? I am writing a plugin to calculate the surface area of ​​the concrete formwork.There are a few problems here. I don't know how to solve them.For example, the beam and the column intersect only core.I want to calculate the side area of the column minus the area that intersects the beam.
I can't get the wanted area when I use the ACAPI_Element_GetSurfaceQuantities
and ACAPI_Element_GetQuantities function.I would like to ask if there is any way to get this area.

Regards,
Leilei
11 REPLIES 11
Anonymous
Not applicable
One off topic question. How are you setting up VS to read addon output like on your movies?

Is there a way to compile addon when AC is running?
For now, I'm always close and open AC when compiling the new version since addon files are used by the AC process.
leilei
Enthusiast
kzaremba wrote:
One off topic question. How are you setting up VS to read addon output like on your movies?

Is there a way to compile addon when AC is running?
For now, I'm always close and open AC when compiling the new version since addon files are used by the AC process.
Hi kzaremba,
1:When you are debugging archicad, you can use WriteReport fuction to get the output.
2:You start archicad directly without debugging,you can use WriteReport_Alert fuction to get the output with a messagebox.
Regards,
Leilei

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!