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 »

Contours From Shape Files With Elevations

Murph has written an excellent post on creating contours from shape files with elevations. I have been using this method for a while now. In fact I have written and to automate importation of contour data into my drawings. Read more »

ScriptPro

Nothing makes writing more enjoyable than ScriptPro, a free program from Autodesk (download it…). This small program allows you to run a script on multiple drawings at once. Here is how to use it… Read more »

Automate Tasks With a Script File

Ellen Finkelstein has written a simple procedure for writing in AutoCAD. As I’ve said again and again on this blog, are a huge time saver! It is worth the time to learn how to write them.

Tomorrow I will show you how to use with Autodesk’s free ScriptPro software.

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 »

Writing Simple Scripts in AutoCAD

For those of you who are new to writing scripts in AutoCAD, I have included a simple script as an example to show you how it works. Read more »

Writing Scripts

One of my favorite things about using AutoCAD is the ability to write and run to help me do repetitive tasks quickly. A script is a series of commands (just like you type into the command line) that you can save in a text file and run on any drawing whenever you need it. Since it is saved in a text file, you can easily share it with colleagues who might need to use it. I have a library of for repetitive tasks we do at work on a regular basis. Here is how to get started writing a script. Read more »

5 Simple AutoLISP Selection Sets

Not being a programmer I am not going to get into the technical details of constructing  code, but I am going to share with you 5 simple codes to help you make selection-sets. Read more »

Tedious Work Breeds Innovation

I am the type of guy who spends a lot of time finding a shortcut so that I can spend less time doing tedious work. Don’t get me wrong, there are times when you are under a time-crunch and have to put on headphones and blast through some tedious stuff. That is life! But I think it’s the mind-numbing tedious work that breeds innovation. Read more »