Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

GDL
About building parametric objects with GDL.

How to get the height of each column segment

Yeojin
Contributor

I want to create a label that shows the cross-section information of a multi segment column and each segments height.

 

I was able to get the width/height of the cross-section using the COLU_SEGMENT_INFO parameter, but not the height of the segments.

 

Using the COLU_HEIGHT parameter, I can only get the overall height of the column,
How can I get the height of each segment?

 

If anyone knows, please let me know. 


question.png
3 REPLIES 3
Jochen Suehlo
Moderator

Did you try COLU_SEGMENT_INFO with :

  • .segments[n].crossSection.startHeight

  • .segments[n].crossSection.endHeight

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

I tried it but it showed column's crosssection size only. 

 

COLU_SEGMENT_INFO.segments[n].crosssection.startWidth 

COLU_SEGMENT_INFO.segments[n].crosssection.startHeight

COLU_SEGMENT_INFO.segments[n].crosssection.endWidth 

COLU_SEGMENT_INFO.segments[n].crosssection.endHeight

 

question.png

Peter Baksa
Graphisoft
Graphisoft

Hi,

 

It is COLU_HEIGHT, but you can get the information for one segment only or the whole column, based on whether the label points to a segment or the whole column.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest