Another simple utility is Line to Wall (Tip #1991) from Justin Werner. This function accepts the user selection of a line object and then creates two offset lines that represent the edges of a wall. The original line is then erased. After loading, type the function name L2W and select a line. The wall thickness must then be input for the offset. The routine instantly creates two offset lines and removes the original from the drawing. This is a great example of how AutoCAD commands mesh nicely with AutoLISP code. |