Category Archives: AutoLISP

AutoLISP: Delete Outside of Window

Link to AutoCAD Tips Here’s is a great little routine that will erase everything that is outside of or crosses a selection window that you create. This is useful for erasing objects that may have gone astray in a layout … Continue reading

Posted in AutoLISP, AutoLISP: Modify | 7 Comments

AutoLISP: Combine Text

Link to AutoCAD Tips Here is a useful way to combine two text objects. You can even combine DTEXT objects with MTEXT and vice-versa… Here’s how: CT <enter> to start Combine Text Select the first text object. (this will be … Continue reading

Posted in AutoLISP, AutoLISP: Modify, AutoLISP: Text, Modifying, Text | 4 Comments

AutoLISP: Select Text, Rename Layout Tab

Link to AutoCAD Tips I used this LISP routine frequently for my old job. It is a routine that I found at http://www.cadalyst.com and is very helpful. What it does is let you rename the current layout tab by selecting … Continue reading

Posted in Attributes, AutoLISP, AutoLISP: Attributes, AutoLISP: Text, Layout, Paper Space, Text, TIPS | 3 Comments

AutoLISP: Delete Invisible Attributes

Link to AutoCADtips There are times when sending or submitting drawings to client or another drafter when the blocks in your drawings contain many attributes – some of which may be set to Invisible. And if you have ever wanted … Continue reading

Posted in Attributes, AutoLISP, AutoLISP: Attributes, AutoLISP: Modify, Blocks, Modifying | 1 Comment

Replace Selected Blocks

[Original link to AutoCAD tips blog] The Express Tool called “Replace Block” or command line = BLOCKREPLACE <enter> has been mentioned [HERE] and found on the ribbon (as seen below) This tool is helpful for replacing blocks globally (through out … Continue reading

Posted in AutoLISP, AutoLISP: Blocks, AutoLISP: Modify, Blocks, Modifying | 35 Comments

AutoLISP: Bump Attributes Values

Here is another Lee-Mac routine. This routine is not on Lee’s website but is from the Augi forums [found here]. http://wp.me/p1aURt-kg This routine is pretty awesome for moving attributes up or down in position. It will not “move” the entire … Continue reading

Posted in Attributes, AutoLISP, AutoLISP: Attributes, AutoLISP: Blocks, AutoLISP: Manage, AutoLISP: Modify | Leave a comment

AutoLISP: Control Xref Color

http://wp.me/p1aURt-jY Here is a handy routine that has 4 functions in it. To be honest I don’t know why there are 4 functions – I can understand why 2 of them would be helpful. But it’s always nice to have … Continue reading

Posted in AutoLISP, AutoLISP: Blocks, AutoLISP: Manage, AutoLISP: Modify, Layers, Modifying, TIPS, Uncategorized, XREFs | 10 Comments

AutoLISP: Set PSLTSCALE for All Viewports

http://wp.me/p1aURt-jN The system variable PSLTSCALE (Paper Space LineType SCALE) has been mentioned [here] so this LISP routine is a great example of automating the process of changing this setting in all of your viewports for you. Here’s how: PS0 <enter> … Continue reading

Posted in AutoLISP, AutoLISP: Modify, Layout, Modifying, Paper Space, Viewports | 2 Comments

AutoLISP: Rectangle from the Midpoint of sides

Sidenote: there is a blog that has been stealing my content without any recognition of who actually made the content and then collecting $ off its ads. Because of this, I am going to start adding watermarks in my pictures … Continue reading

Posted in AutoLISP, AutoLISP: Creating, Polylines | 2 Comments

AutoLISP: Point Circle

This routine lets you create a circle that is made of AutoCAD Point entities. A great feature of this routine is that it lets you determine the starting point where the first point will be placed. Here’s how: Set the … Continue reading

Posted in AutoLISP, AutoLISP: Creating | Leave a comment