Got a minute? We appreciate your feedback:

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

Array parameters

Cosminn
Contributor
Hi all, my name is Daniel and i'm from Romania. I started creating more GDL objects, and i got a problem with array parameters, maybe you can help me. I have 3 parameters A, B and C. IF A=2; B=3 then I want that parameter C have 2 values because A=2 and another 3 values because B=3. So I want 5 values for parameter C. I hope you will understand, i'm sorry for my english.
------------------------------------------------------------
AC24
•Workstation HP Z800 2 x Intel Xeon Quad Core E5620/E5630, 36 GB ram DDR3 - NVIDIA QUADRO 4000 2 GB memory, Windows 10 pro
1 REPLY 1

Dave Seabury
Advocate
Daniel,

A description of what you are trying to construct would help.

If you have an array (array_C) with the following values

ARRAY_C
10
20
30
40
50

and lets say A=2, B=3 If you want to pull values from the array_c

FOR n=1 to A+B

array_c

do something.............

next n

This would pull a value of "10" for the first instance of array_c[1]
and a value of "20" for the second instance of array_c[2]

etc, etc

Again, not sure what you are trying to do though.

David
AC 19-24 Windows 10 64 bit, Dell Prercision 7820, Xeon Silver 2414R ( 12 Cores), 64 GB Ram, Quadro RTX 4000 8GB

Start a new conversation!

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!