BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

GDL
About building parametric objects with GDL.
SOLVED!

Extract Global Variable array into a user selected dropdown list

bej
Participant
Hi All

I am trying to extract the first row from the GLOB_ISSUE_SCHEME global variable array and list it as a user-selected dropdown list. I know how to use a REQUEST statement to list fonts using FONTNAMES_LIST, or list individually using a VALUES statement, but extracting from an array has me stumped.

Any input much appreciated!

Thanks!
Brendon
Brendon Reid
Archicad Consultant
reidefine.com.au
_____________________________________________________________________
Macbook Pro (16-inch, 2019), 2.3GHz, 64GB RAM | AC24 5004 INT Full (since AC4.1)
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Joachim Suehlo
Advisor
DIM _issue_vals[]
FOR i = 1 TO 7
	_issue_vals = GLOB_ISSUE_SCHEME[1]
NEXT i

VALUES "issue_strings" _issue_vals
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de

View solution in original post

2 REPLIES 2
Solution
Joachim Suehlo
Advisor
DIM _issue_vals[]
FOR i = 1 TO 7
	_issue_vals = GLOB_ISSUE_SCHEME[1]
NEXT i

VALUES "issue_strings" _issue_vals
Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de
bej
Participant
Brilliant, thanks Joachim! Works perfectly
Brendon Reid
Archicad Consultant
reidefine.com.au
_____________________________________________________________________
Macbook Pro (16-inch, 2019), 2.3GHz, 64GB RAM | AC24 5004 INT Full (since AC4.1)
Learn and get certified!