This month's request came from Mr. Ronald Getz of Baltimore, Maryland. Getz was using the alignment routine ALIGNIT from 1996, and it no longer works in AutoCAD 2006, so he asked if I could update it. The AutoLISP Solution is ALIGNIT.LSP and ALIGNIT.DCL, which allows the user to align any number of objects to a selected object datum in a single command. ALIGNIT is enhanced to include all of the AutoCAD drawing objects, including those that have appeared in the last ten years. In the last decade, lightweight polylines, ellipses (they used to be polylines), splines (formerly a type of polyline) and multiple line text all have appeared. AutoLISP became Visual LISP with object-oriented ActiveX objects, so the changes are significant.
Get the Code Download the ALIGNIT.LSP and ALIGNIT.DCL files from our Get the Code http://new.cadalyst.com/code/ area and save them in AutoCAD's Support directory. Use the Appload facility by selecting Tools / Load Application, and then select the ALIGNIT.LSP program from where you stored it.
|