envirocad Posted June 21, 2010 Posted June 21, 2010 I made a surface and also made a 3D polyline of the surface boundary. I need to locate the lowest point of the 3D Polyline boundary. The polyline has over 100 vertices. Is there a way to query the highest and lowest point along a pline ?? Thanks!! Quote
alanjt Posted June 21, 2010 Posted June 21, 2010 You can either extract the coordinates with vla-get-coordinates and combine the list into groups of 3 or entnext through the selected ename (using entsel), create a list of coordinates (X,Y,Z), sort by Z value, then you can easily take the highest and lowest value and label accordingly. eg. HighLowLabel.zip 1 1 Quote
eldon Posted June 21, 2010 Posted June 21, 2010 Of course a visual way is to take a Front View and you would be able to see the lowest and the highest point. Quote
alanjt Posted June 21, 2010 Posted June 21, 2010 Of course a visual way is to take a Front View and you would be able to see the lowest and the highest point. Very true, it would just be a pain if there are points with 'close' elevations. Quote
envirocad Posted June 21, 2010 Author Posted June 21, 2010 You can either extract the coordinates with vla-get-coordinates and combine the list into groups of 3 or entnext through the selected ename (using entsel), create a list of coordinates (X,Y,Z), sort by Z value, then you can easily take the highest and lowest value and label accordingly. eg. [ATTACH]21100[/ATTACH] I'm not familiar with LISP. Do you know of a Lisp that will label the lowest point of a 3D Polyline ? or export a x,y,z file that can be sorted by elevation....as you have specified. Thanks!! Quote
alanjt Posted June 21, 2010 Posted June 21, 2010 I'm not familiar with LISP. Do you know of a Lisp that will label the lowest point of a 3D Polyline ? or export a x,y,z file that can be sorted by elevation....as you have specified. Thanks!! Ahh, what the hell. Attached in my original post. Quote
envirocad Posted June 21, 2010 Author Posted June 21, 2010 Ahh, what the hell. Attached in my original post. You are the MAN!! Quote
alanjt Posted June 21, 2010 Posted June 21, 2010 You are the MAN!! Enjoy and you're welcome. Oh yeah, and welcome to the forum. Quote
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.