AutoCAD 2004/2005/2006

Reply
*T4
Message 11 of 15 (191 Views)

Re:

11-18-2003 04:41 AM in reply to: paganka
should work if you join the arc to the line segment


"Paul Turvill" wrote in message
news:79B6D71B8CE17059E64EDC36249169E2@in.WebX.maYIadrTaRb...
> What if the original (lw)polyline has ARC segments?
> ___
>
> "T4" wrote in message
> news:AD16F727E8D605775EB9D995A5C33523@in.WebX.maYIadrTaRb...
> > RPL.LSP - Tom Hanley - Jan 2002
> > ;Reverses PolyLine AND maintains original properties
>
>
*Turvill, Paul
Message 12 of 15 (191 Views)

Re:

11-18-2003 09:21 AM in reply to: paganka
Then let me rephrase: where in the posted code is the routine that draws the
ARC objects that will replace those in the original polyline? If it's there,
I sure don't see it.
___

"T4" wrote in message
news:BEEA2F86162743909B6BA532066C1706@in.WebX.maYIadrTaRb...
> should work if you join the arc to the line segment
*Expert Elite*
Kent1Cooper
Posts: 5,242
Registered: ‎09-13-2004
Message 13 of 15 (158 Views)

Re: Re:

02-06-2013 02:44 PM in reply to: *Turvill, Paul

*Turvill, Paul wrote:
What if the original (lw)polyline has ARC segments?
....

I know this is a very old thread, but in case someone else finds it looking to reverse Polylines, you can get a routine that does that, including preserving arc segments and even variable width [along with reversing anything else that has a drawn direction, more entity types than AutoCAD's newer Reverse command does], either here or here.

Kent Cooper
Active Contributor
JaelaDawn
Posts: 44
Registered: ‎09-02-2009
Message 14 of 15 (152 Views)

Re: Re:

02-13-2013 10:54 AM in reply to: *T4

Here's what I do:

Explode the existing polyline - the one that runs the wrong direction.

Pedit the segment you want to start with. Edit the vertices and see which one it starts on. If it's the wrong one, undo and rotate the line 180 degrees around its midpoint.

Pedit again and it should start on the correct endpoint. Start Joining things, in the order you want them. Check now and then that Edit goes the right way. If there are a lot of lines/arcs to add, you can add bunches at a time once you've done a few individually.

When you add the last one it's Closed, and it runs in the proper direction.

 

I do this all the time 'cause I have to write legal descriptions for easements and I want the parcels to start in the right place and go clockwise.

 

Hope that helps!

Jaela

*Expert Elite*
Kent1Cooper
Posts: 5,242
Registered: ‎09-13-2004
Message 15 of 15 (149 Views)

Re: Re:

02-13-2013 12:13 PM in reply to: JaelaDawn

JaelaDawn wrote:

Here's what I do:

Explode the existing polyline - the one that runs the wrong direction.

....


That's all well and good, as long as the Polyline has no width(s), which will be lost in Exploding.  The routine I posted links to preserves width(s), whether constant or varying, in addition to requiring only that you pick the Polyline, and also working on many other entity types [more than AutoCAD's own Reverse command does].

Kent Cooper

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube