can Values list be read from external file?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-01-07 04:32 AM
ā2004-01-07
04:32 AM
I can achive a list using Values command, and typing all acceptable values directly in the values statement
I can also read the contents of an external file and map these to an array
I can't seem to get GDL to accept a values statement that uses an array variable, using a loop to read each progressive acceptable value from external file however
Should this be possible?
How else could I attack it?
Hope someone can help!
PAUL KING | https://www.prime.net.nz
ArchiCAD 8-28 | Twinmotion 2024
Windoze 11 PC | Intel Core i9 10900K | Nvidia Gforce RTX 3080 | 32 Gb DDR3 | 2x4K monitor extended desktop
ArchiCAD 8-28 | Twinmotion 2024
Windoze 11 PC | Intel Core i9 10900K | Nvidia Gforce RTX 3080 | 32 Gb DDR3 | 2x4K monitor extended desktop
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-01-08 12:49 AM
ā2004-01-08
12:49 AM
If you look in the "Steel Sections Text Files 81" folder in the "MACROS 81" folder of the expanded "ArchiCAD Library 81" - you will see ".GDL" files that are actually text files. These text files are used to populate VALUES lists in all of the Steel Section objects in the ArchiCAD Library (US version).
David Larrew, AIA, GDLA, GSRC
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA
Architectural Technology Specialist
a r c h i S O L U T I O N S
WIN7-10/ OSX 10.15.7
AC 5.1-25 USA

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā2004-01-08 01:57 AM
ā2004-01-08
01:57 AM
Great tip! Example like that is exactly what I needed to see.
I had already been trying to use array, but the breakthrough was knowing how to reference (without index) in the Values statement !
Thank you very much!
I had already been trying to use array, but the breakthrough was knowing how to reference (without index) in the Values statement !
Thank you very much!
PAUL KING | https://www.prime.net.nz
ArchiCAD 8-28 | Twinmotion 2024
Windoze 11 PC | Intel Core i9 10900K | Nvidia Gforce RTX 3080 | 32 Gb DDR3 | 2x4K monitor extended desktop
ArchiCAD 8-28 | Twinmotion 2024
Windoze 11 PC | Intel Core i9 10900K | Nvidia Gforce RTX 3080 | 32 Gb DDR3 | 2x4K monitor extended desktop