<?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: Z-values of a text file into a mesh? in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248875#M32495</link>
    <description>From what I'm reading GRASS should be able to export the imported raster to xyz.&lt;BR /&gt;
&lt;BR /&gt;
I'm using Windows 7 version of it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis" target="_blank"&gt;&lt;LINK_TEXT text="http://gis.stackexchange.com/questions/ ... at-in-qgis"&gt;http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
    <pubDate>Tue, 12 Jan 2016 14:16:34 GMT</pubDate>
    <dc:creator>Erwin Edel</dc:creator>
    <dc:date>2016-01-12T14:16:34Z</dc:date>
    <item>
      <title>Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248867#M32487</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi!&lt;BR /&gt;
I have a text file(* which has thousands of Z-values separated by a space. I wonder is it possible to get them into a MESH using GDL script? &lt;BR /&gt;
I’ve been able to read the values from text file using Text I/O add-on, and even put them into parameter buffer (using PUT command). But the problem is that I should be able to read them in ”inside” MESH command. Like:&lt;BR /&gt;
mesh a, b, m, n, mask, [and then:] z11, z12, z13… etc.&lt;BR /&gt;
I guess there is no way to do that?&lt;BR /&gt;
&lt;BR /&gt;
*) Nevermind the lack of X- and Y-values here; the file format is Esri Ascii file where the X and Y are defined in the beginning of the file via coordinates, number of columns and rows, and cell size.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Jan 2016 10:49:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248867#M32487</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T10:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248868#M32488</link>
      <description>Try using &lt;A href="http://arcscripts.esri.com/details.asp?dbid=15144" target="_blank"&gt;http://arcscripts.esri.com/details.asp?dbid=15144&lt;/A&gt; this converter to get XYZ format file and then read the xyz file from Options &amp;gt; Place Mesh From Surveyors Data...&lt;BR /&gt;
&lt;BR /&gt;
Maybe that works?</description>
      <pubDate>Tue, 12 Jan 2016 11:25:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248868#M32488</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2016-01-12T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248869#M32489</link>
      <description>I've already found that page. But unfortunately it's for ArcGis which I don't have. And I'm using Mac. &lt;BR /&gt;
But: converter is made with python language. Is it so that it's not compatible with other applications? I have QGIS, instead...</description>
      <pubDate>Tue, 12 Jan 2016 12:01:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248869#M32489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T12:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248870#M32490</link>
      <description>From what I remember, you can place a for next loop inside the mesh command ...&lt;BR /&gt;
Then use get nsp or so for the values</description>
      <pubDate>Tue, 12 Jan 2016 13:41:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248870#M32490</guid>
      <dc:creator>Alex Moruzzi</dc:creator>
      <dc:date>2016-01-12T13:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248871#M32491</link>
      <description>&lt;BLOCKQUOTE&gt;Alex wrote:&lt;BR /&gt;From what I remember, you can place a for next loop inside the mesh command ...&lt;/BLOCKQUOTE&gt;
Ok, that sounds promising. &lt;BR /&gt;
Thanks both of you!</description>
      <pubDate>Tue, 12 Jan 2016 13:49:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248871#M32491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T13:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248872#M32492</link>
      <description>Long ago I used excel and notepad and some copy pasting in between to generate my own surveyor data file from some coordinate values. I think I got that to work with the import data function in the end.&lt;BR /&gt;
&lt;BR /&gt;
But it sounds like you have a LOT of values to work with.&lt;BR /&gt;
&lt;BR /&gt;
I think you can import the esri into qgis and you might be able to export to XYZ or ascii coordinates there.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://wiki.tuflow.com/index.php?title=QGIS_Importing_a_Grid" target="_blank"&gt;&lt;LINK_TEXT text="http://wiki.tuflow.com/index.php?title= ... ing_a_Grid"&gt;http://wiki.tuflow.com/index.php?title=QGIS_Importing_a_Grid&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Tue, 12 Jan 2016 13:54:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248872#M32492</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2016-01-12T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248873#M32493</link>
      <description>Can you share the esri ascii file here? I have QGIS installed, can have a look if it works.</description>
      <pubDate>Tue, 12 Jan 2016 13:58:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248873#M32493</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2016-01-12T13:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248874#M32494</link>
      <description>&lt;BLOCKQUOTE&gt;Erwin wrote:&lt;BR /&gt;Can you share the esri ascii file here? I have QGIS installed, can have a look if it works.&lt;/BLOCKQUOTE&gt;
I'll get back to this tomorrow. The original land survey .asc files are quite big, but I've made a small one to be tested with GDL object. I can send that one.&lt;BR /&gt;
I know that .asc file works with QGIS, but the possibility to use python language add-ons is way over my capabilities.</description>
      <pubDate>Tue, 12 Jan 2016 14:04:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248874#M32494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T14:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248875#M32495</link>
      <description>From what I'm reading GRASS should be able to export the imported raster to xyz.&lt;BR /&gt;
&lt;BR /&gt;
I'm using Windows 7 version of it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis" target="_blank"&gt;&lt;LINK_TEXT text="http://gis.stackexchange.com/questions/ ... at-in-qgis"&gt;http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Tue, 12 Jan 2016 14:16:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248875#M32495</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2016-01-12T14:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248876#M32496</link>
      <description>&lt;BLOCKQUOTE&gt;Alex wrote:&lt;BR /&gt;From what I remember, you can place a for next loop inside the mesh command ...&lt;BR /&gt;
Then use get nsp or so for the values&lt;/BLOCKQUOTE&gt;
I tried to google this, but couldn't find any references. Somehow it seems strange to be able to place FOR...NEXT inside MESH - or any other - command. I might be wrong. But while searching I found this:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=4683&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=twisted+ribbon+object&amp;amp;&amp;amp;start=0" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... t&amp;amp;&amp;amp;start=0"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=4683&amp;amp;postdays=0&amp;amp;postorder=asc&amp;amp;highlight=twisted+ribbon+object&amp;amp;&amp;amp;start=0&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
It seems that placing a GET command inside 3D shape command is ok. So no direct help but I learned some GDL basics! 
&lt;BLOCKQUOTE&gt;Erwin wrote:&lt;BR /&gt;But it sounds like you have a LOT of values to work with. &lt;/BLOCKQUOTE&gt;
Yes; the .ASC text file is 69 MB.
&lt;BLOCKQUOTE&gt;Erwin wrote:&lt;BR /&gt;From what I'm reading GRASS should be able to export the imported raster to xyz.&lt;BR /&gt;
I'm using Windows 7 version of it.&lt;BR /&gt;
&lt;A href="http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis" target="_blank"&gt;&lt;LINK_TEXT text="http://gis.stackexchange.com/questions/ ... at-in-qgis"&gt;http://gis.stackexchange.com/questions/45197/what-is-xyz-format-in-qgis&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;/BLOCKQUOTE&gt;
I checked the link, and it seems QGIS can do it. I tried this (from the linked page):&lt;BR /&gt;
"&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;You can use Raster-&amp;gt;Convert-&amp;gt;Translate form the Qgis menu, and edit the command line from -of Gtiff to -of XYZ. "Save As" is only working for vector layers&lt;E&gt;&lt;/E&gt;."&lt;BR /&gt;
I don't know, what editing command line -of Gtiff to -of XYZ means. I didn't see anything like that. The result is XYZ file. But something odd happens: file size is ca. 310 MB (compared to ASC 69 MB), and the Z-values has 13-15 decimal numbers. In ASC there is only 3. &lt;BR /&gt;
&lt;BR /&gt;
Now I don't have time to try XYZ in ArchiCAD. I'll write some report here later. &lt;BR /&gt;
&lt;BR /&gt;
So: &lt;BR /&gt;
- GDL object which reads the ASC file would be nice if several people are using it (no need to use QGIS). But in order to work I have to edit file's couple of first rows by replacing several spaces with tabs. This is for GDL's TEXT I/O command.&lt;BR /&gt;
- Using QGIS (if translate will be fine) is nice, since there's no need to edit the ASC file.&lt;BR /&gt;
&lt;BR /&gt;
(I couldn't attach the ASC file...)&lt;BR /&gt;
&lt;BR /&gt;
Thanks again!&lt;BR /&gt;
&lt;BR /&gt;
EDIT: "It seems that placing a &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;GET&lt;E&gt;&lt;/E&gt; command...", not 'PUT'.</description>
      <pubDate>Wed, 13 Jan 2016 08:24:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248876#M32496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-13T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248877#M32497</link>
      <description>Sorry, I realize I did not use the for next inside the 3d instruction but prepared the buffer in order to use the NSP values using the "use" instruction inside the 3d instruction. No for next instruction in but before in order to prepare the buffer.</description>
      <pubDate>Wed, 13 Jan 2016 08:54:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248877#M32497</guid>
      <dc:creator>Alex Moruzzi</dc:creator>
      <dc:date>2016-01-13T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Z-values of a text file into a mesh?</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248878#M32498</link>
      <description>Here's an update.&lt;BR /&gt;
I couldn't make the translation from QGIS reliably. Or kind of I could: the Z-values have 13 to 15 decimal numbers, but the rounded value is (quite) similar to the original value in ASC. &lt;BR /&gt;
&lt;BR /&gt;
In the end I made the conversion with FME software, and it seems to be fine. I checked both ASC and XYZ files in QGIS and they look the same grayscale image. File size is around 200 MB. When I read it into AC using 'Place Mesh From Surveyors Data' it turned out to be impossible to handle; there is a point in every 2 meters and the area is 6x6 km's... But the benefit of XYZ file is that it's possible to decrease the rows in Mac's Terminal, for example by leaving every 10th (or anything) row only. That produces the mesh with points in every 20 m. This decreasing process couldn’t be done with ASC file. &lt;BR /&gt;
&lt;BR /&gt;
Because XYZ from QGIS has many decimal numbers, it explains the difference in file sizes: &lt;BR /&gt;
- XYZ from QGIS ca. 310…320 MB.&lt;BR /&gt;
- XYZ from FME ca. 200…210 MB. &lt;BR /&gt;
&lt;BR /&gt;
QGIS translation would have been better, because the software is free, while FME isn’t. &lt;BR /&gt;
&lt;BR /&gt;
(I realized that of course XYZ is much larger in file size, because for every point it includes also X- and Y-values, when ASC doesn't.)</description>
      <pubDate>Wed, 20 Jan 2016 07:42:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Z-values-of-a-text-file-into-a-mesh/m-p/248878#M32498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-20T07:42:44Z</dc:date>
    </item>
  </channel>
</rss>

