Category Archives: AutoLISP

AutoLISP: Making a PolyLine Spiral

I found this thinking that someday I would need it. So now I share it with you in case you too need it. After all without it, how else can you easily make a spiral in AutoCAD? This routine is … Continue reading

Posted in AutoLISP, Polylines, TIPS | 2 Comments

AutoLISP: Add a QRCODE To Your Drawing

Lately, these high tech barcodes called “qrcodes” are becoming very popular. With certain cell phone apps, you can take a picture with your smart phone and the phone will quickly process the qrcode and can direct you to a website … Continue reading

Posted in AutoLISP, Blocks, Customization, Text, TIPS | 5 Comments

AutoLISP: Adding A Suffix to Layer Names

To go along with the previous post which adds a Prefix to layer names, this one allows you to add a suffix to layer names. Here’s How: RL2 <enter> to start Enter text string to be added to the end … Continue reading

Posted in AutoLISP, Customization, Layers, Modifying, TIPS | Leave a comment

AutoLISP: Add A Prefix To Layer Names

This routine is a great little routine that allows you to add a prefix to all layer names. Although, It does not allow you add a prefix that already exists in at least one layer name like “A-.” I will … Continue reading

Posted in AutoLISP, Customization, Layers, Modifying, TIPS | 1 Comment

AutoLISP: Spline to Polyline

Keeping with the theme of the previous posts about modifying Splines and Polylines… Here is a routine that lets you change Splines into Polylines. I will warn you though, that this routine doesn’t let you escape or cancel out from … Continue reading

Posted in AutoLISP, Modifying, Polylines, TIPS | 4 Comments

AutoLISP: Polyline to Spline

Here is a routine that allows you to turn a “Fit Curve” Polyline into a Spline. The key to remember with this routine is that the PolyLine has to be a “fit curve” otherwise, the routine will not work. Click … Continue reading

Posted in AutoLISP, Modifying, Polylines, TIPS | 2 Comments

AutoLISP: Change Attribute Color to Bylayer (global)

I have used this routine a lot. I sometimes get drawings that have attributes that have had their color changed to something other than “BYLAYER.”  This routine will change all attributes colors to be BYLAYER. Here’s How: After loading, simply … Continue reading

Posted in Attributes, AutoLISP, Blocks, Modifying, Text, TIPS | 5 Comments

AutoLISP: Offset PolyLine Segments

The title of this post pretty much describes what this routine does. It behaves just like the OFFSET command but it allows you to offset single or multiple segments of a polyline. This pretty cool if you’ve ever needed something … Continue reading

Posted in AutoLISP, Modifying, Polylines, TIPS | 6 Comments

AutoLISP: Arc to Circle

Here’s one that someone asked me about a while ago and I just just it. Very simply, you select arc and this routine turns these arcs into circles keeping both the arc’s radius and the layer that the arcs were … Continue reading

Posted in AutoLISP, Modifying, TIPS | 1 Comment

AutoLISP: Array Rectanglular

Following the previous post concerning alternate array routines: here is one that is similar to the previous except that you can make rectangular arrays. Again, thanks to Lee-Mac. Here’s how: RECARR <enter> to start (RECtangular ARRay) Select object(s) to be … Continue reading

Posted in AutoLISP, Modifying, New in 2012, TIPS | Leave a comment