Lazy System Variable: ATTDIA

There may be times when you would want to turn on/off the dialog box when inserting an attributed block into your drawings. For example, if you are creating a script or macro that inserts an attributed block you might want to set ATTDIA to 0 (zero) at the beginning so that the it will prompt for attributes on the command line only. Read more »

Lazy Command: SuperHatch

This Express Tools command may not be new to some of you but I thought I would share anyway. Type the command SUPERHATCH on the command line and you will get this: Read more »

Writing AutoCAD Scripts With Excel

A while back, I received some survey data in the form of a comma-delimited text file containing rows of Northings, Eastings, & elevations. I needed to take that information and place at every location in my drawing. At the time I only had plain AutoCAD (I wasn’t using Civil 3D yet). Being lazy, I wasn’t about to sit there and type the coordinates by hand. So I wrote a script! Here is how I did it. Read more »

Lazy Command: Breakline

The BREAKLINE command is an Express Tools command that creates a line to represent a partial view of a drawing that looks something like this:


Read more »

Automatic Scaling of Blocks, Images or XREFs

When Autodesk released AutoCAD 2007 I noticed that when I inserted a block or XREF it would sometimes scale up or down in a way I didn’t expect. After a little digging in the help file I found these : INSUNITS, INSUNITSDEFSOURCE, & INSUNITSDEFTARGET. Read more »