cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Jeroen
Graphisoft Partner
Graphisoft Partner

How to show array values in the User Interface?

I would like to use Arrays, but when shown in the UI, it seems you can only show the full Array:

Jeroen_0-1783414887842.png
Can you show and edit a single array item?

Thanks,
Jeroen

 

1 Solution

Accepted Solutions
Domagoj Lukinic
Booster

I would use a loop, if you need to list all the rows at ones use vardim.

 
yUI=5
for i = 1 to vardim1(array1)
	ui_infield{2} array1[i][1], 5,  yUI, 90, 15
	yUI= yUI+25
next i

ofc you can use your own variable to control the number of rows you want

Go to post

2 Replies 2
Domagoj Lukinic
Booster

I would use a loop, if you need to list all the rows at ones use vardim.

 
yUI=5
for i = 1 to vardim1(array1)
	ui_infield{2} array1[i][1], 5,  yUI, 90, 15
	yUI= yUI+25
next i

ofc you can use your own variable to control the number of rows you want

Jeroen
Graphisoft Partner
Graphisoft Partner

Thanks a lot Domagoj!

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!