Tip 2228: Trim Inside or Outside a Box Trim Inside or Outside a Box by Raymond Rizkallah automates the process of trimming around a rectangular area. The LISP source code includes two command functions: Ti for Trim Inside and To for Trim Outside. Trim Inside allows you to define a box area (two corner picks) and then takes it from there. Objects inside the box area will be trimmed out of the drawing, leaving a rectangular hole in the drawing. Trim Outside does the opposite by trimming all the objects outside the rectangular region. This function set can be used to cut details out of a design or to make room for annotations to be placed on top of graphics. You may need to play with the offset values (select P when asked for the first point) to achieve the desired results, but once mastered, this routine can save lots of time. Nice job, Raymond. |