We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

UI - script, connect to a specific cell in an array?

Anonymous
Not applicable
Hi!

I have a matris / array variable that have 2 colums and 6 rows.
How do I connect to a specific cell in that array from an UI_INFIELD? UI_INFIELD will not allow me to call "dim_w"

Regards
Tobias
5 REPLIES 5
Anonymous
Not applicable
Hello,

UI_INFIELD w[1][2], x, y, width, height

should work.
Anonymous
Not applicable
It doesn't work, it complain about that the name isn't a valid parametername.

UI_Infield{2} does work though Bad that the documentation couldn't describe the differents between the functions.
Anonymous
Not applicable
Hello,

Yes, seems that you can only get the whole
array to be modified as a whole via a button
created by the UI_INFIELD.

Regards, Juha
Ralph Wessel
Mentor
TurboGlider wrote:
UI_Infield{2} does work though
Yes, ui_infield{2} and ui_infield{3} are applicable to arrays.
Ralph Wessel BArch
Software Engineer Speckle Systems
Anonymous
Not applicable
Yes, I did saw that today in the description, a very short notice in a big section. But yeah, now my script work and the users could edit the value much easier.