[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.
Line to Wall
Tip# 1991 By Justin Werner On 01-Nov-2004
4
Rated By 1 users Downloaded : 325
Categories : Linear Objects, 2D Operations
Software type : AutoCAD
Rename File To : L2W.LSP
L2W.LSP accepts the user selection of a line object and then creates two offset lines that represent the edges of a wall.

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.

 

 

Average Rating:
4


User comments


Log In