Category Archives: AutoLISP

LISP: Unique Polyline Arrow

Here is a great routine to create unique arrows polyline arrows. DPA <enter> to start (Can specify if you want one arrow or an arrow on both ends) Specify the width (I chose 5 for this example) Pick the desired … Continue reading

Posted in AutoLISP, Leaders, TIPS | 11 Comments

AutoLISP: Copy Block with New Name

If you have ever needed to make an instance of a block unique so that it may have different geometry or whatever…. One way to do so is to open the the block in the Block Editor and then enter … Continue reading

Posted in AutoLISP, Blocks, Modifying, TIPS | 8 Comments

Copying LISP code from this Blog

I have been receiving questions about errors while copying AutoLISP code from the blog. unfortunately, I cannot make an attachment of the LISP file itself with WordPress who hosts this blog. I am currently looking for a good file host … Continue reading

Posted in AutoLISP, TIPS | 2 Comments

AutoLISP: Block & Entity Color Change

Here is a 2-for-1 LISP routine that I know you’ll enjoy. You can easily change Block colors or Entity colors. BLCC <enter> Block Color Change Or ENCC <enter> Entity Color Change Select a color from the “AutoCAD Color Index” For … Continue reading

Posted in AutoLISP, Blocks, Modifying, TIPS | 7 Comments

AutoLISP: Attribute to text (mtext)

Here is a rare LISP routine. there are plenty of routines out there that take an exploded attribute and turn it into either text or mtext. But this routine allows you to make mtext objects out from attributes without exploding … Continue reading

Posted in Attributes, AutoLISP, Blocks, Text, TIPS | 2 Comments

AutoLISP: Change Block Insertion Point

Here is a great LISP routine created by Lee McDonnell from http://www.lee-mac.com Please make sure to check out his website if you are looking for some very helpful programs and if you want to learn about AutoLISP & VisualLISP. Luckily, this … Continue reading

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

AutoLISP: All Dimensions To A Layer

Here is a simple routine that searches for all dimensions in a drawing and asks the user to enter the name of the layer that you would like the dimensions to be on. As seen Below: There are some dimensions … Continue reading

Posted in AutoLISP, Dimensions, Modifying, TIPS | 1 Comment

Autolisp: Deleting All Attributes In A Block

Unlike the previous post where you could only delete all but one attribute, this LISP routine allows you to delete all attributes in the selected blocks. As seen below: ATTDEL2 <to start> Select blocks with attributes  <enter> all attributes from … Continue reading

Posted in Attributes, AutoLISP, Blocks, Modifying, TIPS | 6 Comments

AutoLISP: Delete Attributes

If you need to delete attributes from a block, you can always use the command BATTMAN or you can use this LISP routine. Either way, you cannot delete all attributes from the block but at least you can remove what … Continue reading

Posted in Attributes, AutoLISP, Blocks, TIPS | 2 Comments

AutoLISP: Block Name

When it comes time to annotate your drawings, wouldn’t it be nice for you to be able to select a block and then have its name appear as a text object and then place that text object? Here ya go: … Continue reading

Posted in AutoLISP, Blocks, Text, TIPS | 9 Comments