@alanjt_ wrote:
Immediately after drawing the arc, being the catalyst. Hence the reason I wrote the routine, as I stated.
I tried your routine, and when I selected an arc, it just started the pline command as normal, not drawing it tangent to anything.
Immediately after drawing the Arc, if you're continuing off the end rather than the start of the Arc, you don't need any routine to draw a tangent-continuation Line, as described in Post 9. [TLA even imposes an unnecessary extra step, since it requires selecting the Arc you just drew, which the method in Post 9 does not. But that method won't do what you're after if you want to draw the Line from the start of that Arc. However, it does "know" in which direction you drew it, even though an Arc's entity data stores information always with the "start" at the clockwise end, always proceeding counterclockwise.]
Yes, PLC starts a normal Pline command, and even though the rubber band doesn't lock into the tangent direction, if [as described in both Posts 7 & 9 -- did you try it?] you choose the Length option and give it a length, it does draw it as a tangent continuation from the end of the Arc [or Polyline or Line, if that's what you selected -- choices that TLA doesn't allow].
It could be made to lock into that direction with a < entry as in earlier posts here. But PLC is designed to continue a Polyline in whatever way you want to continue it, not only tangentially. Also, a locked-in direction at the start will be lost if the User calls for any other Pline-prompt options [Width, etc.] before picking a next-vertex point [not an issue with a Line, obviously].
And if you choose the Arc option, PLC does draw it tangent to the end [at least it "drags" that way, though you can overrule that with several of the Pline-prompt options], even though the selected object is not part of the Polyline it's drawing yet -- it's not truly "continuing" -- but will be joined to it when you're done.
PLC won't be all things to all people, and isn't preferable to TLA in all situations, but is just another way of achieving tangent continuations, in more situations than TLA can do.
Kent Cooper, AIA