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

Array

Anonymous
Not applicable
I'm making a panel system that can have multiple heights per panel and any number of panels. So I was looking at the array tool in the parameters list.

If the user wants x panels how do you set it up so only x height inputs come up in the array values?
1 REPLY 1
Frank Beister
Moderator
You can not define a dynamic array in the parameter list. But you can define it with maximum expansion and write a UI-Script, which responds to a adjustable Size. The rest to the maximum keeps unused.
You can enter the array by the UI_INFIELD{2} command.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm