I tried wtih the following code in a labels’ 2d script:
n = REQUEST ("ASSOCLP_PARVALUE_WITH_DESCRIPTION", "myParam", name_or_index, type, flags, dim1, dim2, p_values_and_descriptions)
for ii = 1 to vardim1(p_values_and_descriptions)
for jj = 1 to vardim2(p_values_and_descriptions)
text2 jj, ii, p_values_and_descriptions[ii][jj]
This code writes both the integer value and the description to the floorplan view.
Team Leader, Library Team GRAPHISOFT SE
Thanks, Gergely, but I’m not getting it. I did notice the TEXT2 line needs to be text2 j, i, p_values_and_descriptions[i][j]. But the label is still empty when applied. I’ve attached a simple test case.