<?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 GDL Data I/O path naming in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85198#M39899</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi All&lt;BR /&gt;
&lt;BR /&gt;
Some objects which I am shifting over to 8.1 from AC 7 are no longer working as the path names appear to be invalid. These ( fairly complex) objects use both the Data I/O and the Text I/O to add and retrieve data.&lt;BR /&gt;
&lt;BR /&gt;
To make this reliable across a network on laptops etc I just use the  "ArchiCAD Data Folder" for these output files. The Text I/O add-on defaults to this folder anyway and I was able to make the Data I/O add-on read the same file by making the path&lt;BR /&gt;
&lt;BR /&gt;
":ArchiCAD Data Folder" + ":" + filename.GDL&lt;BR /&gt;
&lt;BR /&gt;
This meant that from within the default ArchiCAD application folder the add-on would find the file.&lt;BR /&gt;
&lt;BR /&gt;
It used to work well under V7 but now doesn't under V8.1&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 19 Jul 2004 03:16:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-07-19T03:16:50Z</dc:date>
    <item>
      <title>GDL Data I/O path naming</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85198#M39899</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi All&lt;BR /&gt;
&lt;BR /&gt;
Some objects which I am shifting over to 8.1 from AC 7 are no longer working as the path names appear to be invalid. These ( fairly complex) objects use both the Data I/O and the Text I/O to add and retrieve data.&lt;BR /&gt;
&lt;BR /&gt;
To make this reliable across a network on laptops etc I just use the  "ArchiCAD Data Folder" for these output files. The Text I/O add-on defaults to this folder anyway and I was able to make the Data I/O add-on read the same file by making the path&lt;BR /&gt;
&lt;BR /&gt;
":ArchiCAD Data Folder" + ":" + filename.GDL&lt;BR /&gt;
&lt;BR /&gt;
This meant that from within the default ArchiCAD application folder the add-on would find the file.&lt;BR /&gt;
&lt;BR /&gt;
It used to work well under V7 but now doesn't under V8.1&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jul 2004 03:16:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85198#M39899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-07-19T03:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Data I/O path naming</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85199#M39900</link>
      <description>Graphisoft Tech support have kindly replied off-line that  what I was trying to do is no longer supported for cross-platform compatibility reasons.&lt;BR /&gt;
&lt;BR /&gt;
They suggested using the 'LIBRARY' mode which I have tested and it appears to work for both the Text I/O and Data I/O although the manual I have lists it as a setting for the Text I/O only.&lt;BR /&gt;
&lt;BR /&gt;
Is this stuff in a book somewhere?  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
regards</description>
      <pubDate>Tue, 03 Aug 2004 22:20:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85199#M39900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-08-03T22:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Data I/O path naming</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85200#M39901</link>
      <description>&lt;BLOCKQUOTE&gt;Bill wrote:&lt;BR /&gt;Graphisoft Tech support have kindly replied off-line that  what I was trying to do is no longer supported for cross-platform compatibility reasons.&lt;BR /&gt;
&lt;BR /&gt;
They suggested using the 'LIBRARY' mode which I have tested and it appears to work for both the Text I/O and Data I/O although the manual I have lists it as a setting for the Text I/O only.&lt;BR /&gt;
&lt;BR /&gt;
Is this stuff in a book somewhere?  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
regards&lt;/BLOCKQUOTE&gt;

Bill,&lt;BR /&gt;
I too have just discovered that the Data I/O does not write (or read) from a file on a server in V8.1 R2.&lt;BR /&gt;
As you say it used to work fine in V7.0&lt;BR /&gt;
&lt;BR /&gt;
We use this all the time for saving quantity lists to file.&lt;BR /&gt;
As we have a number of people in different offices that need to write to or read from these files we can't use the local "Archicad Data Folder".&lt;BR /&gt;
&lt;BR /&gt;
I can write to any folder on my C-drive by simply giving a path.&lt;BR /&gt;
However giving a path to a server location results in an error.&lt;BR /&gt;
&lt;BR /&gt;
For example:&lt;BR /&gt;
fold_path="C:\ArchicadQuant\Jobs"&lt;BR /&gt;
works fine&lt;BR /&gt;
&lt;BR /&gt;
fold_path="\\Ricin\ArchicadQuant\Jobs"&lt;BR /&gt;
does not work at all (this is one of our servers)&lt;BR /&gt;
&lt;BR /&gt;
However I have discovered that mapping a drive to the server (I am on Windows - not sure about Macs) does work.&lt;BR /&gt;
i.e map a drive to ... \\Ricin\ArchicadQuant .... and call it ... E:&lt;BR /&gt;
Then&lt;BR /&gt;
fold_path="E:\Jobs"&lt;BR /&gt;
works fine.&lt;BR /&gt;
&lt;BR /&gt;
The problem again for me is that because we have many people logging onto a number of different machines in various offices, it will be difficult to control the fact that the users must create a mapped network drive.&lt;BR /&gt;
Using the direct network path used to work from any machine (at least in V7.0).&lt;BR /&gt;
&lt;BR /&gt;
Here is a little script that I used for testing.&lt;BR /&gt;
If others would like to test it to confirm the results plaese do so.&lt;BR /&gt;
Just make sure the folder paths exist on your machine and server - change these paths to anything you want.&lt;BR /&gt;
If it works it will create a file (empty file) called "complete_listings.xls"&lt;BR /&gt;
&lt;BR /&gt;
Just add this to a 2D script and unremark one of the "fold_path" lines and press the 2D full view button.&lt;BR /&gt;
Then have a look in the folder to see if there is a file - or you will instantly get an error message.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
   fold_path="None"&lt;BR /&gt;
!  fold_path="C:\ArchicadQuant\Jobs"&lt;BR /&gt;
!  fold_path="\\Ricin\ArchicadQuant\Jobs"&lt;BR /&gt;
!  fold_path="E:\Jobs"&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
IF fold_path&amp;lt;&amp;gt;"None" THEN&lt;BR /&gt;
fspec=fold_path+"complete_listings.xls"&lt;BR /&gt;
ch2 = open("data",fspec,"Separator='\t',Mode = WA")  !complete listing&lt;BR /&gt;
close ch2&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
TEXT2     0.0, 0.0, fold_path&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The question is - is there any way to use a network path with the Data I/O command?&lt;BR /&gt;
The "Library" mode is not really an option - at least in my case at the network folder is not part of our loaded library.&lt;BR /&gt;
&lt;BR /&gt;
If anyone can help out I would very much appreciate it.&lt;BR /&gt;
Barry.&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cool.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 02:19:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85200#M39901</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2004-08-04T02:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: GDL Data I/O path naming</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85201#M39902</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;
fold_path="\\Ricin\ArchicadQuant\Jobs"&lt;BR /&gt;
does not work at all (this is one of our servers)
&lt;/BLOCKQUOTE&gt;

Seems I have managed to solve my own problem.&lt;BR /&gt;
&lt;BR /&gt;
3 or 4 back-slashes before the server name does the job.&lt;BR /&gt;
&lt;BR /&gt;
i.e. fold_path="\\\Ricin\ArchicadQuant\Jobs"&lt;BR /&gt;
&lt;BR /&gt;
The single back-slashes between folder names is fine though.&lt;BR /&gt;
&lt;BR /&gt;
I hope this may help you out too Bill.&lt;BR /&gt;
&lt;BR /&gt;
Barry.&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cool.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 04 Aug 2004 04:18:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Data-I-O-path-naming/m-p/85201#M39902</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2004-08-04T04:18:28Z</dc:date>
    </item>
  </channel>
</rss>

