jaychandran Posted October 30, 2013 Share Posted October 30, 2013 Any Lisp to find the difference in z value at intersection points in 3d polyline and polyline, Test.dwg Quote Link to comment Share on other sites More sharing options...
eldon Posted October 30, 2013 Share Posted October 30, 2013 No Lisp exists Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 30, 2013 Share Posted October 30, 2013 jay: It doesn't matter how many threads you start the answer is going to be the same. This is getting to be annoying. Quote Link to comment Share on other sites More sharing options...
Patrick Hughes Posted October 30, 2013 Share Posted October 30, 2013 No lisp needed. The answer is always 0.000 Quote Link to comment Share on other sites More sharing options...
Tuns Posted October 30, 2013 Share Posted October 30, 2013 How do you find the difference between Z and Z on the same intersection? It can't be done... The answer is just what Patrick said. You'd be able to do it if you can tell me the difference between red and red. Quote Link to comment Share on other sites More sharing options...
tzframpton Posted October 30, 2013 Share Posted October 30, 2013 How is the answer always zero? In Plan View, the entities on the 3D_Polyline layer has varying +/- Z value, and the entities on the polyline layer also has varying +/- Z values. Where they intersect in XY plane oriented in the Top View of the WCS would yield a difference in Z values between the two entities. This is how I'm interpreting the OP's inquiry. Unless I'm missing something? Quote Link to comment Share on other sites More sharing options...
Tuns Posted October 30, 2013 Share Posted October 30, 2013 Pull a dimension then? It isn't really anything that needs a lisp written out. Quote Link to comment Share on other sites More sharing options...
tzframpton Posted October 30, 2013 Share Posted October 30, 2013 LISP is probably to automate the process. Quote Link to comment Share on other sites More sharing options...
Tuns Posted October 30, 2013 Share Posted October 30, 2013 *^C^Cdimlinear;\\\erase;l;\ Semi automated dimension that you can use to find Z... or anything that you need really. Why would he not have a dimension on a point that he needs to know anyways? If it's important enough to know it's important enough to detail, right? Quote Link to comment Share on other sites More sharing options...
eldon Posted October 30, 2013 Share Posted October 30, 2013 This is how I'm interpreting the OP's inquiry. Unless I'm missing something? Did you download the OP's drawing and actually look at his data? Quote Link to comment Share on other sites More sharing options...
eldon Posted October 30, 2013 Share Posted October 30, 2013 Perhaps the mods could amalgamate all the OP's threads on this subject, then everyone could see the picture so far. Quote Link to comment Share on other sites More sharing options...
tzframpton Posted October 30, 2013 Share Posted October 30, 2013 Did you download the OP's drawing and actually look at his data?Yeah I did... I just think he wants a difference of the plines on one layer vs the 3D plines on another layer where they overlap (intersect) while in a Plan (Top) View. Using ID command with Nearest OSnap, I'm seeing different elevations on the same 3D polylines. I still may be totally missing it though so please don't hesitate to set me straight. Quote Link to comment Share on other sites More sharing options...
eldon Posted October 30, 2013 Share Posted October 30, 2013 When I looked at the drawing, I got the impression that it was a contoured map. The yellow lines being the contours, and the cyan lines being rivers (?) and roads (?) drawn to match the lie of the land. As contours are at one level, then an ID at any point would produce a z value. When you zoom in close, and ID an Endpoint of the cyan line which coincides with an Endpoint of the contour, then the z value is identical. Thus the OP's request for a Lisp is absolute nonsense, because the vertical distance between the endpoints (intersection points) is zero because they are the same point. Perhaps I was looking in a different part of the drawing. Quote Link to comment Share on other sites More sharing options...
steven-g Posted October 30, 2013 Share Posted October 30, 2013 I would imagine that is why the request was made, to check that they are at the same levels automatically, I also read it as a contour map, but it does need some serious cleaning up the polylines are good but the 3dpolylines are a mess Quote Link to comment Share on other sites More sharing options...
tzframpton Posted October 30, 2013 Share Posted October 30, 2013 When I looked at the drawing, I got the impression that it was a contoured map. The yellow lines being the contours, and the cyan lines being rivers (?) and roads (?) drawn to match the lie of the land. As contours are at one level, then an ID at any point would produce a z value. When you zoom in close, and ID an Endpoint of the cyan line which coincides with an Endpoint of the contour, then the z value is identical. Thus the OP's request for a Lisp is absolute nonsense, because the vertical distance between the endpoints (intersection points) is zero because they are the same point. Perhaps I was looking in a different part of the drawing. Now that I've inspected the drawing more closely you're right, all the intersections already occupy the exact same Z value. The request isn't needed because the drawing contains identical Z values at every intersection. Got it!! Quote Link to comment Share on other sites More sharing options...
steven-g Posted October 31, 2013 Share Posted October 31, 2013 I can't do lisp, but here is a visual method of checking, change SHADEMODE = hidden, then use the two toolpalette macros to move a region up and down over the map, it needs 2 jumps per contour and is placed 0.1 below the contours. UP ^C^C^Cm;g;test;;0,0;0,0,1; DOWN ^C^C^Cm;g;test;;0,0;0,0,-1; Change the last number for a finer movement. The region start elevation is 21.9 just below the first contour. If you change the last number in the macro to 0.1 and add a repeat to the macro it gives a nice 'animation' just don't forget to hit ESC at some point. Test(map).dwg Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 31, 2013 Share Posted October 31, 2013 jay: What is the source of your drawing? Was it originally created using an AutoDesk vertical product such as Civil 3D? Do you have a surface model? Quote Link to comment Share on other sites More sharing options...
Patrick Hughes Posted October 31, 2013 Share Posted October 31, 2013 How is the answer always zero? In Plan View, the entities on the 3D_Polyline layer has varying +/- Z value, and the entities on the polyline layer also has varying +/- Z values. Where they intersect in XY plane oriented in the Top View of the WCS would yield a difference in Z values between the two entities. This is how I'm interpreting the OP's inquiry. Unless I'm missing something? Tanner I was for the most part being flippant - if the lines actually intersected there would be zero distance. I had not opened the drawing. Quote Link to comment Share on other sites More sharing options...
ReMark Posted October 31, 2013 Share Posted October 31, 2013 If the OP had a surface with a survey baseline or a road centerline superimposed on it could he pick off spot elevations along either? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.