[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Draw a Cap or Pipe End
Tip# 3917 By Kent Cooper On 17-Jun-2012
Rated By 1 users Downloaded : 2039
Categories : Curved Objects, Linear Objects
Software type : AutoCAD 2013
Rename File To : CapEnd.lsp,__MACOSX/,__MACOSX/._CapEnd.lsp
Draw one of four types of end.

Frequent tipster Kent Cooper is back this month with another improved version of an existing tip. Cadalyst CAD Tip No. 1260 by Jason Cox draws a pipe end in AutoCAD, and Kent has expanded on this in two important ways. First off, the new routine will draw one of four types of end (Line, Cut-Line, Pipe-end, or Arc); secondly, it will work with almost any entities as long as they are aiming in the same direction and are aligned. They can even be two different types of entities, such as a line and a polyline. It even works on mline entities, in which case only one pick is needed. Load the LISP file and type in the command CE to get started. Kent has included a great screenshot that's worth 1,000 words; refer to the image below (and the well-documented LISP code) for more details. Thanks, Kent.


Average Rating:

User comments
Comment by Cooper,Kent
Posted on 2012-06-25 16:16:21
Another little benefit in the pipe end option: Tip 1260's pipe end will "face" the wrong way in relation to the pipe's side lines half the time (on average), because it doesn't take into account in which direction those extend from the end. This one always faces in the right direction.
Comment by Cosmas,John
Posted on 2014-06-20 09:23:51
My 1st ever LISP that I've used, what a great tool, thanks.