Object Read from another document?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-11-23 12:12 PM
‎2017-11-23
12:12 PM
Is it possible for an object to be able to read and search through another document such as Excel?
Thanks
Edit:
I have found this but I can't work out how to interpret it to be able to use it! Any help would be much appreciated.
DIM sarray[] ! file in the library, containing parameter data filename = "ProjectNotes.txt" ch1 = OPEN ("text", filename, "MODE=RO, LIBRARY") i = 1 j = 1 sarray[1] = "" ! collect all strings DO n = INPUT (ch1, i, 1, var) IF n > 0 AND VARTYPE (var) = 2 THEN sarray= var j = j + 1 ENDIF i = i + 1 WHILE n > 0 CLOSE ch1 ! parameter popup with strings read from the file VALUES "RefNote" sarray
ArchiCAD 23
Windows 10
Windows 10
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-11-23 12:55 PM
‎2017-11-23
12:55 PM
Think this it what OPEN, INPUT, OUTPUT etc are used for.
There should be information about this in the GDL Reference Guide that you can find from the Help menu.
Should probably work with tab delimited text files.
There should be information about this in the GDL Reference Guide that you can find from the Help menu.
Should probably work with tab delimited text files.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
www.leloup.nl
ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-11-23 01:25 PM
‎2017-11-23
01:25 PM
Erwin wrote:I've read through and tried these, still no idea. Still not working.
Think this it what OPEN, INPUT, OUTPUT etc are used for.
There should be information about this in the GDL Reference Guide that you can find from the Help menu.
Should probably work with tab delimited text files.

EDIT: I have got the basic drop down box including all information in my text document. Is there any way to search through the list easily without having to type it out very quickly?
ArchiCAD 23
Windows 10
Windows 10