We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-01-06 02:17 AM
I am trying to get the total height of Beam (Nominal height + the thickness of Beam Covers) using the API in C++.
I have a beam with 25mm cover on each sides.
The nominal height and width as displayed on the settings dialog is 350mm, however, the total height and width i.e. height and width including the cover is 350+25+25=400mm.
I am currently using ACAPI_Element_GetMemo to get the element memo, and then using
"elementmemo->beamSegments[index].assemblySegmentData.nominalHeight" to get the nominal height.
It is extracting the nominal height correctly i.e.350mm.
However, I want to get either the cover thickness or the total height/width using the API. When I move my mouse over the same beam element, it shows the total height and width (i.e. 400 mm).
Is there any way to get the cover thickness or the total height/width using the API?
Solved! Go to Solution.
2022-01-18 11:36 AM
Hi Eshanta,
Sorry, my bad. 😥
Please take a look at the Do_ModifyProfileParameter()
function in Element_Test, that should give you an idea.
Best, Akos
2022-01-13 06:07 PM
Hi Eshanta,
Please add the venThick
(veneer thickness) of the segment to the nominal width/height.
Best, Akos
2022-01-18 09:24 AM
Hi Akos,
Thank you for your reply.
Apparently, venThick is available only in the case of columns.
I need the cover thickness for the case of beams.
Regards,
Eshanta
2022-01-18 11:36 AM
Hi Eshanta,
Sorry, my bad. 😥
Please take a look at the Do_ModifyProfileParameter()
function in Element_Test, that should give you an idea.
Best, Akos