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.

VARDIM syntax?

TomWaltz
Participant
I'm trying to get the number of elements in a 2-dimensional array. I suspect VARDIM2 will do that, but does anyone know how Archicad returns the number of elements in each dimension of an array?
Tom Waltz
3 REPLIES 3
Anonymous
Not applicable
Tom,

VARDIM1 and VARDIM2 do the trick. The result returns a numerical expression.
Or may be i don't understand your question.
Anonymous
Not applicable
For example, the array has 3 rows and 5 columns.
VARDIM1 return the number of rows.
VARDIM2 return the number of columns.
TomWaltz
Participant
Valery wrote:
For example, the array has 3 rows and 5 columns.
VARDIM1 return the number of rows.
VARDIM2 return the number of columns.
That's what I was trying to figure out. Thanks!
Tom Waltz