Tip 2298: Make More of the Same Mosad H. Elewa sent in this month's Top Tip, Make More of the Same. This really neat drafting tool allows you to select an object in a drawing and make more objects of the same type and properties. This tool saves you the time and effort of looking up the properties of an object, setting them as current, and then running the command. Load the LISP code, type Setas at the Command prompt, and select an existing object in the drawing. If you select a basic graphic object, the routine extracts layer, color, and linetype information and makes them current, then initiates the command to draw more of the same. When you select a text object, the routine sets the text style as current and starts the default text location just below the selected text. This very handy utility was originally written for AutoCAD Release 13 and still useful today. Good programming survives multiple release updates, and that makes this piece of programming our month's top tip! |