<?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: Point cloud file in AutoCAD Map 3D Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6499929#M14223</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You have added the line (vl-load-com) to the Olivier Routine ---&amp;gt; OK !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) When I said that the last line is missing ...&lt;/P&gt;
&lt;P&gt;This means that the routine has a very small bug: the last line of the XYZ file is not interpreted by the routine !&lt;/P&gt;
&lt;P&gt;So for example with your test file which has 34 points (or lines) : ONLY 33 points are created on my PC !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) So you have to add by hand the last point ... A small work ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2016 07:36:45 GMT</pubDate>
    <dc:creator>braudpat</dc:creator>
    <dc:date>2016-08-15T07:36:45Z</dc:date>
    <item>
      <title>Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6494214#M14210</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a file that has approx 150,000 points in 3D,&amp;nbsp; what is the best way to have these plotted, i have tried taking the poinst from the text file and inserting into an excel spreadsheet formwhere i have added the point command which has then plotted the points in batches but it is taking forever, there must be a quicker way to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did wonder about a script file but i am not familiar with using this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the file with the point coordinates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 14:05:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6494214#M14210</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-11T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6494527#M14211</link>
      <description>&lt;P&gt;CT,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;EM&gt;&lt;STRONG&gt;"...what is the best way to have these plotted..."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need a little more information here. Is your data dense enough to turn it into a Point Cloud in ReCap? What are you going to do with the NEZ (or ENZ) file? Make contours? Export as a DEM? Who will be next-in-line to receive your data? What do they need? In what format?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 15:27:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6494527#M14211</guid>
      <dc:creator>Pointdump</dc:creator>
      <dc:date>2016-08-11T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6495760#M14212</link>
      <description>&lt;P&gt;Take a look at this old blog posting.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://map3d.wordpress.com/2006/06/25/points-from-a-text-file/" target="_blank"&gt;https://map3d.wordpress.com/2006/06/25/points-from-a-text-file/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 23:28:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6495760#M14212</guid>
      <dc:creator>Murph_Map</dc:creator>
      <dc:date>2016-08-11T23:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496074#M14213</link>
      <description>&lt;P&gt;The image is that of a bone, i am just wanting to see how quickly one can create the image and get the data in, as it turns out converting the data into a format to paste into the command line under the point command is extremely slow, the PC we have is a HPZ420 with Xeon processors and 16Gb memory, it does not work very well and i wondered if there was a quicker way to import these coordinates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously there are other parts of the system whcih may need looking at to speed this up as well as the processor, e.g. graphics, hard drive to SSD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see the other response to my query has proposed the way i was doing it in the first place, unless another option is proposed i suppose this is the only way to do it in Autocad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:06:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496074#M14213</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-12T07:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496343#M14214</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the basic speed of your Xeon processor ? Which type of Xeon ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because with very fast Core i7 like Core i7 4790K or Core i7 6700K (basic speed = 4.0 Ghz) you are faster than any Xeon ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today you must have a Xeon with a basic speed like 3.4-3.7 Ghz !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then if you are reading huge Point files, a SSD will be much faster than a classic SATA hard disk !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:22:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496343#M14214</guid>
      <dc:creator>braudpat</dc:creator>
      <dc:date>2016-08-12T10:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496357#M14215</link>
      <description>&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i suspected we are not fortunate enough to have a system powerful enough to deal with the data generated.&amp;nbsp; i have attached a snip which hsows the processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:33:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496357#M14215</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-12T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496361#M14216</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Your Xeon E5-1620 with its basic speed of 3.6 Ghz and 10 Mb cache, is OK ! ... It's a very good "OLD" choice !!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) You can't do really better with a NEW PC except using a SSD for very fast reading / writing on hard disk ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:38:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496361#M14216</guid>
      <dc:creator>braudpat</dc:creator>
      <dc:date>2016-08-12T10:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496388#M14217</link>
      <description>&lt;P&gt;Hi Pat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it was a good choice 3 years ago but as time ahs gone on and the bloating of windows and systme demands it is slow especially when downloading data over a network.&amp;nbsp; We are not fortunate enough to have the money to upgrade etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It took just over an hour to load the 150K points into Autocad this morning.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow at least i know it is the PC and not a problem with the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:48:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496388#M14217</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-12T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496420#M14218</link>
      <description>&lt;P&gt;Hello Colin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you load the 150K 3D points into ACAD ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Script file "*.SCR" with someting like :&lt;/P&gt;
&lt;P&gt;multiple point&lt;/P&gt;
&lt;P&gt;x1,y1,z1&lt;/P&gt;
&lt;P&gt;x2,y2,z2&lt;/P&gt;
&lt;P&gt;etc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) DXF loading&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Lisp/VLisp file reading a CSV file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) Other solution ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:07:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496420#M14218</guid>
      <dc:creator>braudpat</dc:creator>
      <dc:date>2016-08-12T11:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496443#M14219</link>
      <description>&lt;P&gt;Hi Pat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it by pasting the data straight into the command line via ctrl +V,&amp;nbsp;&amp;nbsp; i have just done it using a script and it is "chugging" away probably fo rthe next hour again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other methods, not tried as i am not sure as no one has suggested anything apart from Murph.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:23:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6496443#M14219</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-12T11:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6497650#M14220</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with this little piece of code I've loaded 145000 points in 15 seconds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun C:LOADPTS ()
  ; sélection du fichier CSV
  (setq sFileName (getfiled "Points File" "C:/XYZ.TXT" "TXT" 0))
  (setq sLayer (getvar "CLAYER"))
  (setq f_open (open sFileName "r"))
  (setq l_read (read-line f_open))
  (while (setq l_read (read-line f_open))
    (setq sXCoord  (substr l_read 1 (vl-string-position 59 l_read)))
    (setq l_read   (substr l_read (+ 2 (vl-string-position 59 l_read))))
    (setq sYCoord  (substr l_read 1 (vl-string-position 59 l_read)))
    (setq l_read   (substr l_read (+ 2 (vl-string-position 59 l_read))))
    (setq sZCoord  (substr l_read 1 (vl-string-position 59 l_read)))
    (entmake (list (cons 0 "POINT")
		   (cons 8 sLayer)
		   (cons 10 (list (atof sXCoord) (atof sYCoord) (atof sZCoord)))
	     )
    )
  )
  (close f_open)
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Point file must have TXT extension and must use semicolon as separator&lt;/P&gt;&lt;P&gt;X;Y;Z&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 20:31:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6497650#M14220</guid>
      <dc:creator>O_Eckmann</dc:creator>
      <dc:date>2016-08-12T20:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6498033#M14221</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello Olivier&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) THANKS for your routine !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) I know that creating many many entities from a GOOD Lisp/VLisp routine OR from a GOOD DXF file is FAST ...&lt;/P&gt;
&lt;P&gt;But I am not a Programmer, so thanks for your work !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Your routine has 2 very small "problems" :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;31) A line has to be added to your code (at the beginning or at the end) ...&lt;/P&gt;
&lt;P&gt;(vl-load-com)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;32) Your routine forgots the LAST line !! ... Curious ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy WE, Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2016 06:58:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6498033#M14221</guid>
      <dc:creator>braudpat</dc:creator>
      <dc:date>2016-08-13T06:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6499912#M14222</link>
      <description>Thanks Olivier u haqve restored my faith, it just took nearly 30s to load in. I have made the changes suggested by Pat below regarding (vLoad-com), not quite sure what he meant by the last line?&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Aug 2016 07:27:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6499912#M14222</guid>
      <dc:creator>ctnycc</dc:creator>
      <dc:date>2016-08-15T07:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Point cloud file</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6499929#M14223</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) You have added the line (vl-load-com) to the Olivier Routine ---&amp;gt; OK !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) When I said that the last line is missing ...&lt;/P&gt;
&lt;P&gt;This means that the routine has a very small bug: the last line of the XYZ file is not interpreted by the routine !&lt;/P&gt;
&lt;P&gt;So for example with your test file which has 34 points (or lines) : ONLY 33 points are created on my PC !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) So you have to add by hand the last point ... A small work ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, Patrice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 07:36:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-forum/point-cloud-file/m-p/6499929#M14223</guid>
      <dc:creator>braudpat</dc:creator>
      <dc:date>2016-08-15T07:36:45Z</dc:date>
    </item>
  </channel>
</rss>

