2018-04-11 02:54 PM
2018-04-11 03:13 PM
2018-04-11 03:57 PM
Erwin wrote:The issue is that my list is going to be 2000+ values long so the ability to filter my array is essential. Is there a way to essentially search an array?
Think you can find something like this at page 257 of the GDL reference guide, bit about VALUES{2} where they read string values from a text file and put them in an array.
2018-04-11 04:08 PM
2018-04-11 04:21 PM
Erwin wrote:I thought the same thing. I also thought of the idea to split the files up into different sections but I am struggling to find any sort of way to filter through (if *file 1* = x then use *file 2*. I really don't think there is.
Doing this inside a GDL script sounds like a bad idea in terms of slow down inside ArchiCAD, I suspect.
Whatever 2D or 3D display information will eventually end up in the model might constantly look through that long list of things.
Is it an option to use properties, where I think you can import tabbed text files to fill property values, which you can then filter and schedule?
2018-04-11 05:43 PM
2018-04-11 05:51 PM
2018-04-12 09:20 AM
2018-04-12 10:46 AM
Erwin wrote:It seems as though using properties isn't going to be an option for me.
I do not work with big arrays of information, but I remember from the ArchiCAD20 upgrade course I took, that you could use excel sheets and tabbed text files to import information to the then new Properties system. So if it is a matter of displaying and filtering external data, this sounds like an easier method.