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

Streamline your workflows and master BIM coordination! Program starts April 28!

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

can Values list be read from external file?

Paul King
Mentor
Hi = I am attempting to generate a drop down list of predefined acceptable choices for a parameter, with the list taken from the contents of an external file

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
2 REPLIES 2
David Larrew
Booster
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
Paul King
Mentor
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!
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