Jump to content

first point/s of existing closed polyline/s


Recommended Posts

Hello. I need to know where is the first point during plotting of existing close polyline.

The dwg file of the series of adjoining polylines was from somebody. I have to reconstruct the Tie lines(angle and distance) from the Tie Point to the corner 1 of each polygon. Thank You

Edited by ctdlc888
Link to comment
Share on other sites

If the whole of the polyline is visible on screen use 'pedit' then 'edit'. The first point it highlights is the first point. Alternatively type 'list', select the polyline and it gives you the co-ords of all the points on the polyline and the first one in the list is the first point on the ployline.

  • Thanks 1
Link to comment
Share on other sites

The simplest way is to select the polyline and look at its properties. One of those properties is Current Vertex, which will be 1 when you initially select the polyline. Highlight the Current Vertex field and that vertex will display a marker, which moves as you rotate through the vertices (and shows you the order they were drawn in).

  • Thanks 1
Link to comment
Share on other sites

My $0.05

 

(setq obj2 (vlax-ename->vla-object (car (entsel "\nPick a pline"))))
(setq end1 (vlax-curve-getendpoint obj2))
(setq start1(vlax-curve-getstartpoint obj2))

 

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

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