I tried wtih the following code in a labels’ 2d script:
dim p_values_and_descriptions[][]
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]
next jj
next ii
This code writes both the integer value and the description to the floorplan view.
Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE