<?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: How to connect to a file using GDL in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85325#M36932</link>
    <description>Another fix (sorry for the double post) would be to use the dialog option in the OPEN command which would allow the mac user to manually select the file from a browse box and then remember the path.  this feature lets the object go between multiple machines of multiple platforms and still find the file via file path error checking.  using the dialog option make archicad check for the file before using it and if it is not found, it asks the user to look for it again.&lt;BR /&gt;
&lt;BR /&gt;
- Matthew Peychich</description>
    <pubDate>Mon, 06 Jun 2005 19:42:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-06-06T19:42:44Z</dc:date>
    <item>
      <title>How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85323#M36930</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
with this, I would repost an old question...&lt;BR /&gt;
&lt;BR /&gt;
&lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;&lt;B&gt;Fabrizio Diodati&lt;/B&gt;&lt;E&gt;&lt;/E&gt; wrote me an answer some times ago, but now I've another similar problem and so, I'm here:&lt;BR /&gt;
&lt;BR /&gt;
The attached image explains my network resources:&lt;BR /&gt;
&lt;BR /&gt;
!-------- The following is a piece of code as in DNC CB3 ------------&lt;BR /&gt;
&lt;BR /&gt;
!-- for Win --&lt;BR /&gt;
!h="\\Linus\archi_call\file.txt" !Uncomment this for win&lt;BR /&gt;
!-------------&lt;BR /&gt;
&lt;BR /&gt;
!-- for MAC --&lt;BR /&gt;
!h="Linus:archi_call:file.txt" !Uncomment this for mac&lt;BR /&gt;
!-------------&lt;BR /&gt;
&lt;BR /&gt;
ch=OPEN ("TEXT", h, "FULLPATH")&lt;BR /&gt;
CLOSE (ch)&lt;BR /&gt;
&lt;BR /&gt;
!------------------------------------END------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
So, refer to the image: why on Win it works and on mac it doesn't?&lt;BR /&gt;
Do I make anything wrong into the code?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for the reply.&lt;BR /&gt;
Regards&lt;BR /&gt;
&lt;BR /&gt;
(AC8.1, Win2000)&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/71772iD8276AB15F12D6C6/image-size/large?v=v2&amp;amp;px=999" border="0" alt="dncServer.jpg" title="dncServer.jpg" /&gt;</description>
      <pubDate>Mon, 16 May 2005 17:40:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85323#M36930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-16T17:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85324#M36931</link>
      <description>depending on the Mac server setup, "Linus:archi_call:file.txt" may not exist.  I know that for file sharing on my home network, when a computer connects to my mac it requires a connection to a home folder "MacintoshHD:Users:Matthew:" in which case the file would need to reside at "MacintoshHD:Users:Matthew:archi_call:file.txt"  thats for a local path.  but when you have a server you have mount points in which the remote file system is "mounted"  If server "Linus" has the mount point set as Users:&amp;lt;name&amp;gt;, the file would need to reside at "MacintoshHD:Users:&amp;lt;name&amp;gt;:archi_call:file.txt" locally which after the network mount translates to "Linus:archi_call:file.txt"&lt;BR /&gt;
&lt;BR /&gt;
this situation can change though.  say your file exists at "MacintoshHD:resources:ArchiCAD_Libs:archi_call:file.txt" and the server mountpoint was set to "MacintoshHD:resources" then your path for the object would be something like "Linus:ArchiCAD_Libs:archi_call:file.txt"&lt;BR /&gt;
&lt;BR /&gt;
hope this helps and does not confuse you on it any more.&lt;BR /&gt;
&lt;BR /&gt;
Edit: Now that i think of it... you could also try unix style file paths.  which seems more likely than what i posted above.  the mount point looks right from the pic.&lt;BR /&gt;
&lt;BR /&gt;
- Matthew Peychich</description>
      <pubDate>Mon, 06 Jun 2005 19:35:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85324#M36931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-06T19:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85325#M36932</link>
      <description>Another fix (sorry for the double post) would be to use the dialog option in the OPEN command which would allow the mac user to manually select the file from a browse box and then remember the path.  this feature lets the object go between multiple machines of multiple platforms and still find the file via file path error checking.  using the dialog option make archicad check for the file before using it and if it is not found, it asks the user to look for it again.&lt;BR /&gt;
&lt;BR /&gt;
- Matthew Peychich</description>
      <pubDate>Mon, 06 Jun 2005 19:42:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85325#M36932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-06T19:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85326#M36933</link>
      <description>Thank you very much, Matthew.&lt;BR /&gt;
&lt;BR /&gt;
I'll try your method... but, perhaps, I solved my problem.&lt;BR /&gt;
&lt;BR /&gt;
I hope to have not to ask this answer other times in this group... this will me very likeable... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cry.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
PWD</description>
      <pubDate>Tue, 07 Jun 2005 07:04:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85326#M36933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-07T07:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85327#M36934</link>
      <description>&lt;BLOCKQUOTE&gt; [...] would be to use the dialog option in the OPEN command which would allow the mac user to manually select the file from a browse box and then remember the path.&lt;/BLOCKQUOTE&gt;
Maybe you can check out the right path in this way. Ask for the file in the dialog box and &lt;B&gt;PRINT&lt;/B&gt; the returned value.</description>
      <pubDate>Tue, 07 Jun 2005 07:31:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85327#M36934</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-06-07T07:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to a file using GDL</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85328#M36935</link>
      <description>Frank,&lt;BR /&gt;
&lt;BR /&gt;
another gooooood idea!!!!&lt;BR /&gt;
The best idea, I think&lt;BR /&gt;
&lt;BR /&gt;
Thank you very veery much&lt;BR /&gt;
PWD</description>
      <pubDate>Tue, 07 Jun 2005 07:36:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/How-to-connect-to-a-file-using-GDL/m-p/85328#M36935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-07T07:36:34Z</dc:date>
    </item>
  </channel>
</rss>

