<?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: GDL checking libraries in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39723#M38136</link>
    <description>Check the File Manager I/O possibilities in AC 9 Help at:&lt;BR /&gt;
&lt;BR /&gt;
GDL Reference Guide &amp;gt; Miscellaneous &amp;gt; GDL File Manager I/O Add-On  &lt;BR /&gt;
&lt;BR /&gt;
It says you can open a folder and scan for file names.&lt;BR /&gt;
You can read file names int ovariables and you can check these variables against your file names.&lt;BR /&gt;
If they are found your GDL Script gets executed.</description>
    <pubDate>Thu, 10 Mar 2005 12:52:13 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2005-03-10T12:52:13Z</dc:date>
    <item>
      <title>GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39720#M38133</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;is it possible to have an object check for certain objects in the library?  I would like my object 'X'  to check to see if objects 'Y' and 'Z' are loaded before doing executing part of the GDL script... kinda like a check for a control statement &lt;BR /&gt;
 &lt;BR /&gt;
If [object is loaded] Then &lt;BR /&gt;
this &lt;BR /&gt;
 &lt;BR /&gt;
If [object is loaded] Then &lt;BR /&gt;
that&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Mar 2005 20:50:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39720#M38133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-09T20:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39721#M38134</link>
      <description>I am afraid that is not possible mate. However I will wait for while if someone would have any good idea how to do that before posting this as a wish.</description>
      <pubDate>Wed, 09 Mar 2005 22:40:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39721#M38134</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2005-03-09T22:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39722#M38135</link>
      <description>Depends what you are trying to do really.  If you call another object like a macro you will get an error message if the macro is not there.  Any object can be a macro.  You could but a tag in 'Y' and 'Z', call them in 'X', get the value of the tag to put in your if statement.  But if 'y' and 'Z' aren't there at all you will get an error message, there may be a way around it I am unaware of. &lt;BR /&gt;
 &lt;BR /&gt;
Julia</description>
      <pubDate>Thu, 10 Mar 2005 00:34:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39722#M38135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-10T00:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39723#M38136</link>
      <description>Check the File Manager I/O possibilities in AC 9 Help at:&lt;BR /&gt;
&lt;BR /&gt;
GDL Reference Guide &amp;gt; Miscellaneous &amp;gt; GDL File Manager I/O Add-On  &lt;BR /&gt;
&lt;BR /&gt;
It says you can open a folder and scan for file names.&lt;BR /&gt;
You can read file names int ovariables and you can check these variables against your file names.&lt;BR /&gt;
If they are found your GDL Script gets executed.</description>
      <pubDate>Thu, 10 Mar 2005 12:52:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39723#M38136</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2005-03-10T12:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39724#M38137</link>
      <description>Thanks!  ill try to do the file scanning.  ill make sure to post my results.&lt;BR /&gt;
&lt;BR /&gt;
-- Matthew Peychich</description>
      <pubDate>Thu, 10 Mar 2005 19:38:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39724#M38137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-10T19:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39725#M38138</link>
      <description>File scanning works wonders for doing this.  simply set up the OPEN function and then when the user first uses the object or the original file path is invalid, the user will be prompted with a dialog box that allows them to browse for the new path.  then using a check on if the file is found you can control what params the user sets.  Thanks laszlonagy for the idea, it works great!</description>
      <pubDate>Thu, 10 Mar 2005 22:04:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39725#M38138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-10T22:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39726#M38139</link>
      <description>Great! And thanks for posting back the result, now I know it works. I might use such a thing in the future. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 10:31:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39726#M38139</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2005-03-11T10:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39727#M38140</link>
      <description>I think, it is a rather 'half-cooked' solution. It's not a cross-platform solution and based on 'physical' path of the file. What about searching in the AC internal database of LOADED libraries? That is what I would expected from such a add-on. That would tell me whether my object that I am looking for is loaded in active libs or has to be loaded in (optional dialog box). I am putting this in the GDL wish list as well.</description>
      <pubDate>Wed, 16 Mar 2005 21:43:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39727#M38140</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2005-03-16T21:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39728#M38141</link>
      <description>Sounds good as a wish.</description>
      <pubDate>Wed, 16 Mar 2005 21:55:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39728#M38141</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2005-03-16T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: GDL checking libraries</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39729#M38142</link>
      <description>&lt;BLOCKQUOTE&gt;Rob wrote:&lt;BR /&gt;I think, it is a rather 'half-cooked' solution. It's not a cross-platform solution and based on 'physical' path of the file. What about searching in the AC internal database of LOADED libraries? That is what I would expected from such a add-on. That would tell me whether my object that I am looking for is loaded in active libs or has to be loaded in (optional dialog box). I am putting this in the GDL wish list as well.&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
it would be a wish.  as to the cross platform issue, it is.  the file io scans for the folder defined as the one containing the files specified.  if it resides at C:\libraries\parchtools on my pc and someplace on my mac.  when i move the project to the mac it will recognize that the defined file system location is invalid and will prompt the user to browse for it.  the system in its bare for iin factct portable however you would need to have an OS check if you were to run a complex fs operation due to the path separatoror differences. ( '/' vs. '\')&lt;BR /&gt;
 &lt;BR /&gt;
so long as the files being checked reside that the defined root of the objects path, you can use it on all platforms.  when you start saying it resides at root\folder1\folder2 and root/folder1/folder2 you obviously would have problems.  an actual way to access the database of loaded libraries would be nice and can be done with an add on but not from just GDL</description>
      <pubDate>Thu, 17 Mar 2005 02:50:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-checking-libraries/m-p/39729#M38142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-17T02:50:24Z</dc:date>
    </item>
  </channel>
</rss>

