@GrantsPirate wrote:
Kent - I tried your lisp but it errors out with
; error: bad argument type: numberp: nil
Works for me [AutoCAD 2016, on two different computers], drawing Lines starting on Arcs, Circles, Polyline arc segments, even Polyline line segments and Lines, and in Move displacement.
The only "number" values are (getvar 'aunits) [I don't think it's possible for that to be nil], the 8 [clearly not], and the Parameter at the nearest point on the object, which seems like the only thing that could be causing that error. I can't think of how you could be getting a nil return on that -- I tried picking a Line start point too far from a curve to Osnap to, and I got an error, but not that one. Are you actually starting something at a location along a path object first, and then typing in the (tf), the way it's built to work?
A shortcoming, though a different issue: It works for the start of something, but [for example] in the middle of a Line command drawing more than one in series, if I have a Line ending on an Arc [or whatever] and type in (tf) for the next Line, it uses the previous piece of Line rather than the Arc for the direction.
Kent Cooper, AIA