cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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
Jochen Suehlo
Advisor
DIM _issue_vals[]
FOR i = 1 TO 7
	_issue_vals = GLOB_ISSUE_SCHEME[1]
NEXT i

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

View solution in original post

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

VALUES "issue_strings" _issue_vals
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . 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)