Category Archives: AutoLISP

AutoLISP: Detach All XREFS

I found this a little while ago and noticed that there is no header – so I don’t know who wrote it. Whoever it was – thank you!! Update: I found the original postings of this code: This little routine … Continue reading

Posted in AutoLISP, Modifying, XREFs | 2 Comments

AutoLISP: Swap Text & Attributes

Here is a good quickie that lets you swap text objects – even Attributes that are within the same block and even attributes within different blocks. (Note: the “swapping” of attributes is actually only swapping the “value” of the and … Continue reading

Posted in Attributes, AutoLISP, Modifying, Text | Leave a comment

AutoLISP: Background Text Mask (Mtext Only)

Here is a quick way to turn on the text background to MTEXT. (Note: this routine works with MTEXT only.) Click here to see how to add Background Text Mask to Dimensions and MLeaders as this routine does not allow … Continue reading

Posted in AutoLISP, Modifying, Text | 3 Comments

AutoLISP: Text Box Width

Sorry for not posting in a while. I now have a full time job. I get work with AutoCAD and help people with their AutoCAD problems – Which is something that I love. Anyways – This routine is a great … Continue reading

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

AutoLISP: Eraser

WARNING!! WARNING!! This is yet another erasing routine but there is a warning that goes along with it. You don’t actually select anything. Instead, whatever your cursor hovers over gets erased. So if you don’t have a steady hand, then … Continue reading

Posted in AutoLISP, Modifying, TIPS | 1 Comment

AutoLISP: Erase Continuously (new & improved)

So Lee answered once again and combined the two previous routines into one awesome routine. You remain in the erase command and are able to select objects by 1) picking them 2) Window 3) Crossing window and as soon as … Continue reading

Posted in AutoLISP, Modifying, TIPS | 1 Comment

AutoLISP: Erase Single

Here is another erase routine that lets you select only one object at a time but like the previous post, it erases the selected object and then continues the erase command. My ultimate goal would be to combine these 2 … Continue reading

Posted in AutoLISP, Modifying, TIPS | Leave a comment

AutoLISP: Erase Continuous With a Window

A lot of the drawings that I get I end up erasing a lot of stuff. And after using SkethUP’s erase command, I wish that AutoCAD’s erase command worked in the same way. I asked Lee-Mac for help with this … Continue reading

Posted in AutoLISP, Modifying, TIPS | 2 Comments

AutoLISP: Capital Text – Choose Some Not All

This routine is great because not every text object in a drawing needs to be capitalized and this routine lets you simply select the text objects that you want to be capitalized. It’s that simple… BTW – it works with … Continue reading

Posted in AutoLISP, Modifying, Text, TIPS | Leave a comment

AutoLISP: Polar Array

I recently posted some alternatives to the new ARRAY commands that are in AutoCAD 2012 and forgot to post this one. It allows you to create a polar array. Here’s How: POLAR <enter> to start Select Objects <enter> when done … Continue reading

Posted in AutoLISP, Modifying, TIPS | Leave a comment