Jump to content

Lowest point of 3D Polyline


envirocad

Recommended Posts

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!!

Link to comment
Share on other sites

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.gif

HighLowLabel.zip

  • Like 1
Link to comment
Share on other sites

Of course a visual way is to take a Front View and you would be able to see the lowest and the highest point. :D

 

Very true, it would just be a pain if there are points with 'close' elevations.

Link to comment
Share on other sites

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!!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...