Kent Cooper expands on Cadalyst CAD Tip No. 3830 with a routine that allows you to select a triangular closed polyline in AutoCAD. Moreover, this routine enables you to find any of the various "centers" of a triangular object, the definitions of which are included in the heavily documented LISP code. The five included functions (TCE, TI, TCI, TO, TN) are intended to be called from other LISP functions and will return the expected coordinates. Optionally, you can call any of these functions at the Command line wherever a point is expected. |