<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Object Read from another document? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248340#M4529</link>
    <description>&lt;BLOCKQUOTE&gt;Erwin wrote:&lt;BR /&gt;Think this it what OPEN, INPUT, OUTPUT etc are used for.&lt;BR /&gt;
&lt;BR /&gt;
There should be information about this in the GDL Reference Guide that you can find from the Help menu.&lt;BR /&gt;
&lt;BR /&gt;
Should probably work with tab delimited text files.&lt;/BLOCKQUOTE&gt; I've read through and tried these, still no idea. Still not working. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
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?</description>
    <pubDate>Thu, 23 Nov 2017 12:25:28 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2017-11-23T12:25:28Z</dc:date>
    <item>
      <title>Object Read from another document?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248338#M4527</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
Is it possible for an object to be able to read and search through another document such as Excel?&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Edit:&lt;BR /&gt;
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.&lt;BR /&gt;

&lt;PRE&gt;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 &amp;gt; 0 AND VARTYPE (var) = 2 THEN
        sarray&lt;J&gt; = var
        j = j + 1
    ENDIF
    i = i + 1
WHILE n &amp;gt; 0
CLOSE ch1
! parameter popup with strings read from the file
VALUES "RefNote" sarray&lt;/J&gt;&lt;/PRE&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Nov 2017 11:12:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248338#M4527</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-11-23T11:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Object Read from another document?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248339#M4528</link>
      <description>Think this it what OPEN, INPUT, OUTPUT etc are used for.&lt;BR /&gt;
&lt;BR /&gt;
There should be information about this in the GDL Reference Guide that you can find from the Help menu.&lt;BR /&gt;
&lt;BR /&gt;
Should probably work with tab delimited text files.</description>
      <pubDate>Thu, 23 Nov 2017 11:55:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248339#M4528</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2017-11-23T11:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Object Read from another document?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248340#M4529</link>
      <description>&lt;BLOCKQUOTE&gt;Erwin wrote:&lt;BR /&gt;Think this it what OPEN, INPUT, OUTPUT etc are used for.&lt;BR /&gt;
&lt;BR /&gt;
There should be information about this in the GDL Reference Guide that you can find from the Help menu.&lt;BR /&gt;
&lt;BR /&gt;
Should probably work with tab delimited text files.&lt;/BLOCKQUOTE&gt; I've read through and tried these, still no idea. Still not working. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
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?</description>
      <pubDate>Thu, 23 Nov 2017 12:25:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Read-from-another-document/m-p/248340#M4529</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-11-23T12:25:28Z</dc:date>
    </item>
  </channel>
</rss>

