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

Beam geometry

abrakadabra
Contributor

Hello,

 

I would like to get a beam element geometry information like width, height, length and reference line position. I am fine with the length as I can calculate from reference line coordinates, but I did not find information about width and height in API_​BeamType nor in its memo.

I am looking for the 400 and 300 values in case below in the API.

 

abrakadabra_0-1654064315647.png

 

Regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Akos Somorjai
Graphisoft
Graphisoft

Hello there,

 

It's in the assemblySegmentData member, in nominalWidth and nominalHeight.

 

Best, Akos

View solution in original post

2 REPLIES 2
Solution
Akos Somorjai
Graphisoft
Graphisoft

Hello there,

 

It's in the assemblySegmentData member, in nominalWidth and nominalHeight.

 

Best, Akos

Thanks for the answer Akos,

 

The reference axis is also somewhere hidden in the memo?

abrakadabra_0-1654150755677.png

 

Regards,