Hi guys! I am thinking to read the Grid element's name with Label tool.
but I can't get it. Did anybody know this? THank you!
Go to Solution.
Labeling Grid lines is not officially supported, but it works.
Grids are just objects, their GLOB_ELEM_TYPE will yield "1" (=object), so they are not really first class members.
Anyway, since it's an object, you can just do
request('ASSOCLP_PARVALUE', 'AC_MarkerText_1', index, type, flags, dim1, dim2, AC_MarkerText_1)
and "AC_MarkerText_1" will have the grid's name.
@runxel I see a solution to cropped grid lines on my to do list 👍
For me it is hard to understand and use these GDL code, But I will try! Thank you!
Another workaround is to name the Grid 'Element ID' the same as the Grid number or letter.
Go to Grid Element Selection Settings -> Classification and Properties -> ID (set to A, B, 01 etc. to match the grid name).
Then you can label the grid using the 'Element ID' autotext with either a pointer as you have shown or save as a custom label with circle/fill/autotext to match the grid heads.
I worked out. Although there are few more questions in my head, I made a label to read the text of the axis. Thank you.😁