How to get the height of each column segment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-08-02 06:11 AM
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.
- Labels:
-
Library (GDL)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-08-03 12:13 PM - edited ‎2023-08-03 12:14 PM
Did you try COLU_SEGMENT_INFO with :
-
.segments[n].crossSection.startHeight
-
.segments[n].crossSection.endHeight
GDL object creation: b-prisma.de
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-08-04 02:49 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2023-08-04 09:38 AM
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.
Software Engineer, Library
Graphisoft SE, Budapest