[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.
Cut Window
Tip# 1963 By Tommy Teague On 01-Jul-2004
5
Rated By 1 users Downloaded : 559
Categories : 2D Editing, 2D Operations
Software type : AutoCAD
Rename File To : Tip1963: CLEARAREA.LSP
CLEARAREA.LSP. Cut and trim objects inside a closed boundary by repeating the Trim command.

Tommy Teague supplied a great example of combined parameter input with repeated AutoCAD commands in his Cut Window (Tip#1963) utility. This handy function lets you cut and trim objects inside a closed boundary by repeating the Trim command. Load the LSP file and type in CA or Cleararea to activate the command. Select a series of boundary objects and an inside point-the rest is automatic.

This clever routine leverages the AutoCAD commands inside AutoLISP and lets you open up a window for placing other graphics or text. Note that objects you want to trim out of the enclosed area must be the kind that can be trimmed.

 

 

Average Rating:
5


User comments