<?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: Analyzing surface elevations, lisp programmers? in AutoCAD Map 3D Developer Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675192#M2490</link>
    <description>Of course, the best solution would be just giving the command that does everything automatically on specified surface with specified elevation ranges, without me clicking on every area. But this would be more difficult to code, or maybe easier? I am not a programmer either.</description>
    <pubDate>Mon, 03 May 2010 08:26:52 GMT</pubDate>
    <dc:creator>Yami72</dc:creator>
    <dc:date>2010-05-03T08:26:52Z</dc:date>
    <item>
      <title>Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675189#M2487</link>
      <description>Hi, &lt;BR /&gt;
&lt;BR /&gt;
Is there programmers who could do a (lisp) tool for analyzing surface elevations?&lt;BR /&gt;
&lt;BR /&gt;
I need a tool that &lt;BR /&gt;
- gives me a text file containing information of elevation of specified areas.&lt;BR /&gt;
- Needed data is 2D-areas at spesific elevation ranges &lt;BR /&gt;
- Data of several sequential analyzed areas should be placed in the same txt file and named by ordinal number (1, 2, 3,...)&lt;BR /&gt;
- The ordinal number of the each analyzed area should be drawn to the picked point inside the area.&lt;BR /&gt;
- A closed polyline should be drawn around the analyzed area (to later check if the area is the wanted one)&lt;BR /&gt;
- Used elevation ranges could be read from a text file.&lt;BR /&gt;
&lt;BR /&gt;
The text file should look something like this (forest01.txt):&lt;BR /&gt;
forest01-1&lt;BR /&gt;
range 123.20-123.29 m area 234 m2&lt;BR /&gt;
range 123.30-123.39 m area 543 m2&lt;BR /&gt;
range 123.40-123.49 m area 0 m2&lt;BR /&gt;
Total area 777 m2&lt;BR /&gt;
&lt;BR /&gt;
forest01-2&lt;BR /&gt;
range 123.20-123.29 m area 0 m2&lt;BR /&gt;
range 123.30-123.39 m area 123 m2&lt;BR /&gt;
range 123.40-123.49 m area 235 m2&lt;BR /&gt;
Total area 238 m2&lt;BR /&gt;
 &lt;BR /&gt;
etc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Some definitions:&lt;BR /&gt;
- The surface is a normal Autocad surface generated from lidar data (few millions ascii-points)&lt;BR /&gt;
- Analyzed areas can be specified by lines, polylines or 2D polylines. Polylines can be open, closed and crossing each other, but they always form a closed area (which you can for example hatch by picking a point).&lt;BR /&gt;
- Areas are typically small (less than 1 m2 to 1-5 hectares)&lt;BR /&gt;
&lt;BR /&gt;
Using the program should be extremely simple because there can be hundreds of areas. Idea of the workflow: &lt;BR /&gt;
Start lisp&lt;BR /&gt;
Accept the range file by hitting enter&lt;BR /&gt;
Give a name to the text file&lt;BR /&gt;
Pick a point inside the first area&lt;BR /&gt;
Pick a point insidethe second area&lt;BR /&gt;
etc&lt;BR /&gt;
End lisp&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Is this doable?&lt;BR /&gt;
How much it would take time (and money)?&lt;BR /&gt;
&lt;BR /&gt;
I am using Autocad Civil 3D 2009-10-11&lt;BR /&gt;
&lt;BR /&gt;
If you are interested, please see the attached file. I will post the elevation point file if needed.&lt;BR /&gt;
&lt;BR /&gt;
Jami</description>
      <pubDate>Thu, 29 Apr 2010 12:09:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675189#M2487</guid>
      <dc:creator>Yami72</dc:creator>
      <dc:date>2010-04-29T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675190#M2488</link>
      <description>Correction to your post, the surface is a Civil 3D TIN Surface not a &lt;BR /&gt;
standard AutoCAD surface.&lt;BR /&gt;
&lt;BR /&gt;
Why not use the tools already in C3D to get the info you need or the point &lt;BR /&gt;
cloud tools in 2011?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Murph&lt;BR /&gt;
http://map3d.wordpress.com/&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jamiaho" wrote in message news:6382630@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Is there programmers who could do a (lisp) tool for analyzing surface &lt;BR /&gt;
elevations?&lt;BR /&gt;
&lt;BR /&gt;
I need a tool that&lt;BR /&gt;
- gives me a text file containing information of elevation of specified &lt;BR /&gt;
areas.&lt;BR /&gt;
- Needed data is 2D-areas at spesific elevation ranges&lt;BR /&gt;
- Data of several sequential analyzed areas should be placed in the same txt &lt;BR /&gt;
file and named by ordinal number (1, 2, 3,...)&lt;BR /&gt;
- The ordinal number of the each analyzed area should be drawn to the picked &lt;BR /&gt;
point inside the area.&lt;BR /&gt;
- A closed polyline should be drawn around the analyzed area (to later check &lt;BR /&gt;
if the area is the wanted one)&lt;BR /&gt;
- Used elevation ranges could be read from a text file.&lt;BR /&gt;
&lt;BR /&gt;
The text file should look something like this (forest01.txt):&lt;BR /&gt;
forest01-1&lt;BR /&gt;
range 123.20-123.29 m area 234 m2&lt;BR /&gt;
range 123.30-123.39 m area 543 m2&lt;BR /&gt;
range 123.40-123.49 m area 0 m2&lt;BR /&gt;
Total area 777 m2&lt;BR /&gt;
&lt;BR /&gt;
forest01-2&lt;BR /&gt;
range 123.20-123.29 m area 0 m2&lt;BR /&gt;
range 123.30-123.39 m area 123 m2&lt;BR /&gt;
range 123.40-123.49 m area 235 m2&lt;BR /&gt;
Total area 238 m2&lt;BR /&gt;
&lt;BR /&gt;
etc.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Some definitions:&lt;BR /&gt;
- The surface is a normal Autocad surface generated from lidar data (few &lt;BR /&gt;
millions ascii-points)&lt;BR /&gt;
- Analyzed areas can be specified by lines, polylines or 2D polylines. &lt;BR /&gt;
Polylines can be open, closed and crossing each other, but they always form &lt;BR /&gt;
a closed area (which you can for example hatch by picking a point).&lt;BR /&gt;
- Areas are typically small (less than 1 m2 to 1-5 hectares)&lt;BR /&gt;
&lt;BR /&gt;
Using the program should be extremely simple because there can be hundreds &lt;BR /&gt;
of areas. Idea of the workflow:&lt;BR /&gt;
Start lisp&lt;BR /&gt;
Accept the range file by hitting enter&lt;BR /&gt;
Give a name to the text file&lt;BR /&gt;
Pick a point inside the first area&lt;BR /&gt;
Pick a point insidethe second area&lt;BR /&gt;
etc&lt;BR /&gt;
End lisp&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Is this doable?&lt;BR /&gt;
How much it would take time (and money)?&lt;BR /&gt;
&lt;BR /&gt;
I am using Autocad Civil 3D 2009-10-11&lt;BR /&gt;
&lt;BR /&gt;
If you are interested, please see the attached file. I will post the &lt;BR /&gt;
elevation point file if needed.&lt;BR /&gt;
&lt;BR /&gt;
Jami</description>
      <pubDate>Thu, 29 Apr 2010 12:30:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675190#M2488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T12:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675191#M2489</link>
      <description>Thank you for your answer Murph,&lt;BR /&gt;
&lt;BR /&gt;
Yes, you are right, it is Civil 3D  TIN surface I am talking about.&lt;BR /&gt;
&lt;BR /&gt;
I don't know if it is possible to automate the process enough with the existing tools. I need exactly these things: results in a simple seperate text file as described before (for further calculations in excel), the polyline around the analyzed area and the ordinate number  inside the area. These things and nothing else.&lt;BR /&gt;
&lt;BR /&gt;
I tried to find a solution with the existing tools, but I could not find a satisfying solution. (I am not very experienced Autocad user... And 2011 is just installed, so I don't know much it's features)&lt;BR /&gt;
&lt;BR /&gt;
I really need an extremely simple workflow, because there are hundreds of areas and one unnecessary and mouse click means hundreds of unnecessary mouse clicks. And I have many projects like this. &lt;BR /&gt;
&lt;BR /&gt;
If there is an easy solution or a path to seek "the one mouse click on each area" solution with existing tools, I am willing to hear it&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Jami</description>
      <pubDate>Mon, 03 May 2010 07:15:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675191#M2489</guid>
      <dc:creator>Yami72</dc:creator>
      <dc:date>2010-05-03T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675192#M2490</link>
      <description>Of course, the best solution would be just giving the command that does everything automatically on specified surface with specified elevation ranges, without me clicking on every area. But this would be more difficult to code, or maybe easier? I am not a programmer either.</description>
      <pubDate>Mon, 03 May 2010 08:26:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675192#M2490</guid>
      <dc:creator>Yami72</dc:creator>
      <dc:date>2010-05-03T08:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675193#M2491</link>
      <description>Map3D is very limited in working with Civil3D objects, you may want to ask &lt;BR /&gt;
in the Civil 3D groups for assistance.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Murph&lt;BR /&gt;
http://map3d.wordpress.com/&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Jamiaho" wrote in message news:6384458@discussion.autodesk.com...&lt;BR /&gt;
Thank you for your answer Murph,&lt;BR /&gt;
&lt;BR /&gt;
Yes, you are right, it is Civil 3D  TIN surface I am talking about.&lt;BR /&gt;
&lt;BR /&gt;
I don't know if it is possible to automate the process enough with the &lt;BR /&gt;
existing tools. I need exactly these things: results in a simple seperate &lt;BR /&gt;
text file as described before (for further calculations in excel), the &lt;BR /&gt;
polyline around the analyzed area and the ordinate number  inside the area. &lt;BR /&gt;
These things and nothing else.&lt;BR /&gt;
&lt;BR /&gt;
I tried to find a solution with the existing tools, but I could not find a &lt;BR /&gt;
satisfying solution. (I am not very experienced Autocad user... And 2011 is &lt;BR /&gt;
just installed, so I don't know much it's features)&lt;BR /&gt;
&lt;BR /&gt;
I really need an extremely simple workflow, because there are hundreds of &lt;BR /&gt;
areas and one unnecessary and mouse click means hundreds of unnecessary &lt;BR /&gt;
mouse clicks. And I have many projects like this.&lt;BR /&gt;
&lt;BR /&gt;
If there is an easy solution or a path to seek "the one mouse click on each &lt;BR /&gt;
area" solution with existing tools, I am willing to hear it&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Jami</description>
      <pubDate>Mon, 03 May 2010 11:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675193#M2491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-03T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Analyzing surface elevations, lisp programmers?</title>
      <link>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675194#M2492</link>
      <description>Hi Jamiaho,&lt;BR /&gt;
&lt;BR /&gt;
As a working practice, draw your bounding polylines all on one layer &lt;BR /&gt;
with no other polylines on that layer.&lt;BR /&gt;
&lt;BR /&gt;
 From a coding perspective, it is then very easy to ask the user to &lt;BR /&gt;
select one polyline for purposes of determining the layer name and then &lt;BR /&gt;
the program can find all polylines on that layer and process them with &lt;BR /&gt;
no further user input.  They can be automatically numbered and labelled &lt;BR /&gt;
at the centroid of the polyline (in general it will happen in order of &lt;BR /&gt;
their creation in the drawing)&lt;BR /&gt;
&lt;BR /&gt;
If you want a more complex set of objects to bound the areas, then you &lt;BR /&gt;
could look at hand using the AutoCAD "Boundary" command or other &lt;BR /&gt;
techniques to create the polylines in advance.  The coding effort to &lt;BR /&gt;
find these areas by pure logic will be far greater than anyone is likely &lt;BR /&gt;
to do without payment.&lt;BR /&gt;
&lt;BR /&gt;
Once the polylines are available, several programming approaches become &lt;BR /&gt;
available.&lt;BR /&gt;
&lt;BR /&gt;
One is to to add the polyline to the surface as an external boundary, &lt;BR /&gt;
and then use the data analysis of that "surface" to get the required &lt;BR /&gt;
data, followed by removing the boundary then adding the next one.&lt;BR /&gt;
&lt;BR /&gt;
Another would be to query all the vertices of the surface which are &lt;BR /&gt;
inside the boundary and the vertices where triangle edges cross the &lt;BR /&gt;
polyline and have the program compute the values you need from that data.&lt;BR /&gt;
&lt;BR /&gt;
Again the programming effort is significant.  I doubt that any one would &lt;BR /&gt;
do this for you without a commercial agreement.  Will the program save &lt;BR /&gt;
you enough time to warrant and outlay of $1,000, $10,000, $50,000?&lt;BR /&gt;
&lt;BR /&gt;
You need to have a figure in mind and then consult with an experienced &lt;BR /&gt;
programmer to get an idea of the real costs involved in programming it.&lt;BR /&gt;
&lt;BR /&gt;
Lastly, all you want is a working solution, so don't specify the &lt;BR /&gt;
language you want the solution written in.  Leave that to the programmer.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
  Jamiaho wrote:&lt;BR /&gt;
&amp;gt; Of course, the best solution would be just giving the command that does everything automatically on specified surface with specified elevation ranges, without me clicking on every area. But this would be more difficult to code, or maybe easier? I am not a programmer either.</description>
      <pubDate>Mon, 03 May 2010 12:52:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-map-3d-developer-forum/analyzing-surface-elevations-lisp-programmers/m-p/2675194#M2492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-03T12:52:01Z</dc:date>
    </item>
  </channel>
</rss>

