CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Autocad -> Reverse a PLINE vertex order?

Posted by Dave Aley
on 2003-05-06 16:23:34 UTC
You can do this in AutoCAD (R14 and 2000 at least) pretty easily. I
can't say for sure that this will work in other CAD programs.

Draw a new polyline from the end of your existing polyline that you want
to be last to an arbitrary point that's not on the existing polyline.
Edit this new polyline with PEDIT, select the JOIN option, and join your
existing polyline to the new one. Use BREAK to snip off the extra
"tail" that you've created. Check your order with PEDIT; it should be
organized so that the start of the polyline is opposite the end where
you drew the new polyline.

Before I learned this trick I wrote a VB program to reverse the order of
the polyline, but this way is easier. :-)

Dave

Lloyd Leung wrote:
> This shouldn't be off topic.
>
> I have a pline that represents a cutting path. I'm wondering if there
> is an easy way to reverse the vertex order of a pline object.
>
> Thanks.

Discussion Thread

Lloyd Leung 2003-05-06 02:03:25 UTC Autocad -> Reverse a PLINE vertex order? Fred Smith 2003-05-06 06:51:08 UTC Re: Autocad -> Reverse a PLINE vertex order? Lloyd Leung 2003-05-06 12:21:48 UTC RE: Autocad -> Reverse a PLINE vertex order? Dave Aley 2003-05-06 16:23:34 UTC Re: [CAD_CAM_EDM_DRO] Autocad -> Reverse a PLINE vertex order? Fred Smith 2003-05-06 17:37:50 UTC Re: Autocad -> Reverse a PLINE vertex order? notoneleft 2003-05-07 08:03:41 UTC Re: Autocad -> Reverse a PLINE vertex order?