<?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: Making mesh from map and text values (imported from dwg) in Collaboration with other software</title>
    <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210831#M26586</link>
    <description>@ sinceV6&lt;BR /&gt;
&lt;BR /&gt;
As by the law in my country the site surveying drawing has to display a table with the coordinates of the piece of land of interest plus a table with the lengths of the corresponding boundaries. I use the coordinate object to schedule the coordinates on a table and 3rd dimension object not the 3d dimension there are two of them in bimcomponents, the first one can give you its length in schedules. &lt;BR /&gt;
&lt;BR /&gt;
So this object is better for me for placing trees. Although someone still would like to have the ability to schedule the trees too.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
    <pubDate>Fri, 13 Feb 2015 17:33:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-13T17:33:04Z</dc:date>
    <item>
      <title>Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210798#M26553</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi.   &lt;BR /&gt;
  &lt;BR /&gt;
I've been using archicad since the beginning of my studies,  &lt;BR /&gt;
so It's 4 years by now. I'm using ver. 15.  &lt;BR /&gt;
  &lt;BR /&gt;
Actually I'm  working on terrain model for my graduation project.  &lt;BR /&gt;
  &lt;BR /&gt;
Long story's short:  &lt;BR /&gt;
 I got map imported from DWG. I already organized layers and  isolated points heigth  (there are actually text with heigth value only - no geometric points)    &lt;BR /&gt;
(also map doesn't contain height lines).  &lt;BR /&gt;
 As for now, I can create a mesh, then draw some lines, after that select each one separately and manually enter desired Z-level for every point.  &lt;BR /&gt;
Problem is, the number of points is 1860 and nobody sane would undertake this.  &lt;BR /&gt;
  &lt;BR /&gt;
Question:  &lt;BR /&gt;
 Is there a way to automatically add points to mesh from location of the text fields? Furthermore, is there a way to generate point Z-level from the value of number, and make whole geometry from text itself?  &lt;BR /&gt;
  &lt;BR /&gt;
I don't have any experience with Surveyors design plugin. Maybe there's a way.  &lt;BR /&gt;
  &lt;BR /&gt;
Practically:  &lt;BR /&gt;
 It would greatly speed workaday modeling basis.  &lt;BR /&gt;
  &lt;BR /&gt;
Looking forward to any experience and ideas,   &lt;BR /&gt;
they would be very appreciated.  &lt;BR /&gt;
  &lt;BR /&gt;
Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Update:&lt;BR /&gt;
&lt;BR /&gt;
I'm doing some reserches:&lt;BR /&gt;
&lt;BR /&gt;
I found some script for Rhino. You just load 2D mapped DWG text to Rhino, then use the script which read the text value, then adds a point to each text box, and then sets the point in z-value written in text. Great thing, but I got some problems atm, with the script doesn't want to elevate points.&lt;BR /&gt;
&lt;BR /&gt;
Is there possibility to write script like that for Archicad? Personally I'm no script writter, but I think many people would be very greatful for the time and work it would save them.&lt;BR /&gt;
&lt;BR /&gt;
The other think is to generate the mesh from those points in space, but this should be less of a problem.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Nov 2012 15:38:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210798#M26553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-07T15:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210799#M26554</link>
      <description>Do you know the Design\Place Mesh from Surveyor Data command.&lt;BR /&gt;
You may get the terrain data in the format it understands and create your Mesh from that.</description>
      <pubDate>Fri, 09 Nov 2012 14:40:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210799#M26554</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2012-11-09T14:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210800#M26555</link>
      <description>I considered that, but I don't know any soft (standalone or plugin) to translate text strings (2D DWG) to survey data. Could you give me sime hint?</description>
      <pubDate>Fri, 09 Nov 2012 15:40:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210800#M26555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T15:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210801#M26556</link>
      <description>Sorry, I am not familiar with that.&lt;BR /&gt;
The Help file only gives this info:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/ftp/publishing/ac16_help_INT/Files/wwhelp/wwhimpl/js/html/wwhelp.htm#href=07_Interoperability.10.47.html#1012229" target="_blank"&gt;&lt;LINK_TEXT text="http://www.graphisoft.com/ftp/publishin ... ml#1012229"&gt;http://www.graphisoft.com/ftp/publishing/ac16_help_INT/Files/wwhelp/wwhimpl/js/html/wwhelp.htm#href=07_Interoperability.10.47.html#1012229&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Fri, 09 Nov 2012 16:04:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210801#M26556</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2012-11-09T16:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210802#M26557</link>
      <description>Look at this tread if you have the original ".dwg" file + AutoCAD or any clone with support for AutoLISP, to export 3D points to a ".toc" file from it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=39671&amp;amp;highlight=mesh" target="_blank"&gt;&lt;LINK_TEXT text="http://archicad-talk.graphisoft.com/vie ... light=mesh"&gt;http://archicad-talk.graphisoft.com/viewtopic.php?t=39671&amp;amp;highlight=mesh&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Fri, 09 Nov 2012 17:51:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210802#M26557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T17:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210803#M26558</link>
      <description>Funny, I found &lt;A href="http://stefanobolli.blogspot.com/2010/04/creating-3d-terrain-from-height.html" target="_blank"&gt;Stefano's Boli blog&lt;/A&gt; where the precedure is similar.&lt;BR /&gt;
First better use oryginal DWG/DXF file because if u opened it in Archicad before and saved to DWG next, it modified text lines for me so you wouldn't be able to export them later from AutoCAD to txt (AutoCAD didn't saw them as text strings). So better to do layer work (deleting everything exept wanted heightpoints) in AutoCAD.&lt;BR /&gt;
I exported with Cad2File Tool but it only makes CSV file, or space/coma/tab delimited.&lt;BR /&gt;
&lt;BR /&gt;
Could You gimme example to see how survey .txt file is constructed?&lt;BR /&gt;
XXX.XXX, YYY.YYY, ZZZ.ZZZ - like this??&lt;BR /&gt;
from excel CLV i get smoething like this&lt;BR /&gt;
&lt;BR /&gt;
Start X,Start Y,Start Z,Text Value,&lt;BR /&gt;
7571195.7510,5544223.8730,0.0000,208.35,&lt;BR /&gt;
&lt;BR /&gt;
Should I just use some other AutoLisp and get .toc ?</description>
      <pubDate>Fri, 09 Nov 2012 19:29:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210803#M26558</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T19:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210804#M26559</link>
      <description>The .txt file with 3D xyz points coordinates looks like this:&lt;BR /&gt;
 P         X              Y           Z&lt;BR /&gt;
P01 390378.445 96360.296 172.47&lt;BR /&gt;
P02 390379.748 96367.614 170.42&lt;BR /&gt;
P03 390381.026 96370.818 171.36&lt;BR /&gt;
P04 390377.353 96377.913 171.43&lt;BR /&gt;
P05 390375.685 96381.351 172.52&lt;BR /&gt;
P06 390376.949 96390.973 171.24&lt;BR /&gt;
P07 390373.487 96400.761 169.97&lt;BR /&gt;
P08 390374.776 96411.821 167.19&lt;BR /&gt;
P09 390383.299 96407.991 166.84&lt;BR /&gt;
P10 390381.567 96399.676 167.45&lt;BR /&gt;
......&lt;BR /&gt;
&lt;BR /&gt;
Your´s values will be :&lt;BR /&gt;
P0001 7571195.7510 5544223.8730 208.35&lt;BR /&gt;
......&lt;BR /&gt;
P1860 XXXXXXX.XXXX YYYYYYY.YYYY ZZZ.ZZ&lt;BR /&gt;
&lt;BR /&gt;
If you know some other ".lsp" routine that do the same thing, use it freely.</description>
      <pubDate>Fri, 09 Nov 2012 20:02:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210804#M26559</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-09T20:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210805#M26560</link>
      <description>I edited previous scheme to one you mentioned, no now it is:&lt;BR /&gt;
&lt;BR /&gt;
P X Y Z&lt;BR /&gt;
P0001 7571195.7510 5544223.8730 208.35&lt;BR /&gt;
...&lt;BR /&gt;
P2704 7571445.2543 5543944.7345 202.78&lt;BR /&gt;
&lt;BR /&gt;
(file is .txt Unicode)&lt;BR /&gt;
&lt;BR /&gt;
Unfortunatly, when I open it with Design&amp;gt;Place mesh from Surveyors data...&lt;BR /&gt;
...nothing happens, it won't even open dialog box&lt;BR /&gt;
&lt;BR /&gt;
I tried your AutoLISP (SURVEYEXPORT) for AutoCAD but when it asks me to select objectss it doesnt seem to see any text strings:&lt;BR /&gt;
"Select objects: 0 found, 0 total" or&lt;BR /&gt;
"Select objects: Specify opposite corner: 0 found, 0 total"&lt;BR /&gt;
despite how I select them</description>
      <pubDate>Sat, 10 Nov 2012 10:58:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210805#M26560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-10T10:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210806#M26561</link>
      <description>Did you try to make Mesh from the .txt file in that topic:&lt;BR /&gt;
(ales-1_3D points geo.txt)?&lt;BR /&gt;
&lt;BR /&gt;
If you get the Mesh from it , then compare .txt with yours to find what´s going wrong.&lt;BR /&gt;
&lt;BR /&gt;
Or you can post your .txt so I can try to make Mesh from it.</description>
      <pubDate>Sat, 10 Nov 2012 11:24:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210806#M26561</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-10T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210807#M26562</link>
      <description>This is just what I did and it works now.&lt;BR /&gt;
&lt;BR /&gt;
Problem was a bit fishy, &lt;BR /&gt;
first of all:&lt;BR /&gt;
the coding of .txt file must be ANSI - I had UNICODE&lt;BR /&gt;
(that's why Archicad did nothing when tried to open it)&lt;BR /&gt;
second:&lt;BR /&gt;
there was no P X Y Z line, and "P" before point number (so no letters, numbers only)&lt;BR /&gt;
document's first line starting from 1st point&lt;BR /&gt;
third:&lt;BR /&gt;
I got spaces at the end of each line.&lt;BR /&gt;
&lt;BR /&gt;
(I made notepad++ simple macro to delete spaces at the end of each line)&lt;BR /&gt;
&lt;BR /&gt;
So to do things right I need:&lt;BR /&gt;
1. DXF/DWG file with heightstrings&amp;gt;&lt;BR /&gt;
2. AutoCAD (or similar) with AutoLISP support&amp;gt;&lt;BR /&gt;
3. AutoLISP program to export texstrings to text file (I used "Cad2File")&lt;BR /&gt;
4. Notepad++ (or other text editor) to make eventually changes&lt;BR /&gt;
&lt;BR /&gt;
From there just  use Design&amp;gt;Place mesh from Surveyors data... and voila!&lt;BR /&gt;
&lt;BR /&gt;
Many thanks for help and patience,&lt;BR /&gt;
hope this will help somebody in future.</description>
      <pubDate>Sat, 10 Nov 2012 12:11:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210807#M26562</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-10T12:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210808#M26563</link>
      <description>I´m glad that finaly works!</description>
      <pubDate>Sat, 10 Nov 2012 14:12:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210808#M26563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-10T14:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210809#M26564</link>
      <description>This is an article I wrote when trying to understand the format that is used by the &lt;FONT color="blue"&gt;Place Mesh from Surveyors Data&lt;/FONT&gt; function:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.davidmaudlin.com/ArchiCAD/DigitalArchitecture/Extra/Tips/TxtToMesh/TxtToMesh.html" target="_blank"&gt;Creating A Mesh From A Txt File&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
It contains an explanation of the format used by this function.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Sat, 10 Nov 2012 14:20:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210809#M26564</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2012-11-10T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210810#M26565</link>
      <description>Interesting Article David. &lt;BR /&gt;
I have attempted to use the X,Y,Z, Code format.&lt;BR /&gt;
&lt;BR /&gt;
The Points are imported with the correct x,y,z values, but the code (ID) is no where in the mesh file. If the points are defining the location of Landscaping features, Retaining walls or base of structures; the code ID is important. Where or how can the imported text code be found?</description>
      <pubDate>Tue, 27 Jan 2015 18:57:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210810#M26565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-27T18:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210811#M26566</link>
      <description>Jay:&lt;BR /&gt;
&lt;BR /&gt;
The Mesh Tool does not support the IDs. One solution would be to write a library part that reads the txt file, line by line, to place text with the ID at the corresponding points. This would be an Object separate from the Mesh but should overlay correctly. I don't have experience with this area of GDL (File Operations), maybe someone else will be able to give you a start.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 28 Jan 2015 14:02:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210811#M26566</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2015-01-28T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210812#M26567</link>
      <description>Yes David an object which did such a thing would be perfect. I do not have the skill to do such a thing maybe,but maybe there will be someone that can give me a clue.</description>
      <pubDate>Thu, 29 Jan 2015 14:17:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210812#M26567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210813#M26568</link>
      <description>&lt;BLOCKQUOTE&gt;Jay wrote:&lt;BR /&gt;Yes David an object which did such a thing would be perfect. I do not have the skill to do such a thing...&lt;/BLOCKQUOTE&gt;
Hello.&lt;BR /&gt;
How far would your GDL skills take you?&lt;BR /&gt;
It's really not that hard what you want to do.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Jay wrote:&lt;BR /&gt;..but maybe there will be someone that can give me a clue.&lt;/BLOCKQUOTE&gt;

Challenge accepted!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Assuming that your .xyz/.txt file works and you can build your mesh, and you are using spaces as delimeters....&lt;BR /&gt;
&lt;BR /&gt;
Be sure to have your data file available.&lt;BR /&gt;
&lt;BR /&gt;
Make a new object.&lt;BR /&gt;
Just add a parameter, string type, Variable name fileName, and give it a description. In the master script, paste this:&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!===CHANNEL OPEN=====
!!!ch1 = OPEN ("TEXT", textFile, "SEPARATOR='\t', MODE=RO, LIBRARY") &amp;lt;--- sample: opening the file, using TAB as separator, loaded in library

ch1 = OPEN ("TEXT", fileName, "SEPARATOR=' ', MODE=RO, LIBRARY")

IF ch1&amp;lt;=0 THEN
	PRINT 	"CHECK THAT FILE IS LOADED WITH LIBRARIES\nOR CHECK FILE NAME IN PARAMETERS"
	TEXT2 0,0,"CHECK THAT FILE IS LOADED WITH LIBRARIES\nOR CHECK FILE NAME IN PARAMETERS"
	HOTSPOT2 0,0
	CIRCLE2 0,0,0.10
	END
ENDIF

!===COUNT NUMBER OF ROWS IN DATABASE=====
dataRows = 0
DO
	dataRows = dataRows + 1
	n = INPUT(ch1, dataRows, 1, notUsed)
WHILE n &amp;gt; -1

dataRows = dataRows - 1 !--it counts 1 extra row
!!!PRINT dataRows
!!!dataRowsText = STR(dataRows,2,0)
!==========================================================================

!===COUNT NUMBER OF COLUMNS IN DATABASE=====
dataColumns=1
rowCounter=0
DO
	rowCounter = rowCounter+1
	n = INPUT(ch1, rowCounter, dataColumns, notUsed)
	IF n&amp;gt;0 THEN dataColumns = dataColumns +1
WHILE n &amp;gt; -1

dataColumns = dataColumns - 1 !--it counts 1 extra column
!!!PRINT dataColumns
!!!dataColumnsText = STR(dataColumns,2,0)
!==========================================================================

!===ASIGN VALUES TO ARRAY=====
DIM data[][]	!--this holds the information, two dimension array

FOR i=1 TO dataRows
	FOR j=1 TO dataColumns
		dataRead = ""
		n = INPUT(ch1, i, j, dataRead)
		data&lt;I&gt;&lt;J&gt; = dataRead
	NEXT j
NEXT i

!!!PRINT data

!===CLOSE CHANNEL=====
CLOSE ch1
!=============================================

xx=1
yy=2
zz=3
id=4

trans=0
FOR i=1 TO dataRows
	ADD data&lt;I&gt;[xx], data&lt;I&gt;[yy], data&lt;I&gt;[zz]
	ADD2 data&lt;I&gt;[xx], data&lt;I&gt;[yy]
	CALL "Coordinate Dimension 18" PARAMETERS ALL \
		bID=1, 		bAddText=1, 	strAddTextContent=data&lt;I&gt;[id],
		bID3D=1,	bAddText3D=1,	strAddTextContent3D=data&lt;I&gt;[id],
		fontSizeHeader_mm=1.75, fontSizeCoor_mm=1.5, fontSizeID_mm=1.5,
		bShowCoorX=0,	bShowCoorY=0,	bShowCoorZ=0,
		bShowCoorX3D=0, bShowCoorY3D=0,	bShowCoorZ3D=0
	
	ADD -data&lt;I&gt;[xx], -data&lt;I&gt;[yy], -data&lt;I&gt;[zz]
	ADD2 -data&lt;I&gt;[xx], -data&lt;I&gt;[yy]
		!&amp;lt;--- not using DEL just to keep this in the masterScript. You should move info to their respective scripts.
NEXT i

&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/J&gt;&lt;/I&gt;&lt;/PRE&gt;

save and place in floor plan.&lt;BR /&gt;
It may ask you for a file name prior to saving, or when placing the object.&lt;BR /&gt;
&lt;BR /&gt;
For review, this is calling the Coordinate Dimension 18 object from the standard library and giving it the corresponding parameters. You would need to modify the script it to suit your own needs.&lt;BR /&gt;
&lt;BR /&gt;
The basic workflow routine is used to read any TXT file, as long as data is correctly structured. It has many uses, as it basically reads the file and builds an array that has all the data. you just call it later. I know many people will benefit from it.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps a bit.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 29 Jan 2015 17:21:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210813#M26568</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2015-01-29T17:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210814#M26569</link>
      <description>Rookie Try.&lt;BR /&gt;
What type of parameter is a "String" type? Is in a "Text" type.</description>
      <pubDate>Fri, 30 Jan 2015 03:32:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210814#M26569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T03:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210815#M26570</link>
      <description>Got this error.</description>
      <pubDate>Fri, 30 Jan 2015 03:33:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210815#M26570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T03:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210816#M26571</link>
      <description>I wanted to attach one of the Text (txt) files, but it is not an allowed extension.&lt;BR /&gt;
&lt;BR /&gt;
It is a Excel Spreadsheet that is saves as a txt file. The format is columns of x, y, z &amp;amp; Code.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6699i9E484DECBD97A891/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Topo txt data.jpg" title="Topo txt data.jpg" /&gt;</description>
      <pubDate>Fri, 30 Jan 2015 03:41:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210816#M26571</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-30T03:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Making mesh from map and text values (imported from dwg)</title>
      <link>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210817#M26572</link>
      <description>&lt;BLOCKQUOTE&gt;Jay wrote:&lt;BR /&gt;I wanted to attach one of the Text (txt) files, but it is not an allowed extension.&lt;/BLOCKQUOTE&gt;
Try zipping the file (.zip).&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 30 Jan 2015 13:30:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Collaboration-with-other/Making-mesh-from-map-and-text-values-imported-from-dwg/m-p/210817#M26572</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2015-01-30T13:30:20Z</dc:date>
    </item>
  </channel>
</rss>

