Category Archives: AutoLISP: Modify

AutoLISP: Convert 2D Solid to Polyline Outline

Since 2D solids aren’t very friendly after you place them and are hard to edit, you may need find this tool helpful for converting the solid into a polyline that represents the outline of the solid. An example of its … Continue reading

Posted in AutoLISP, AutoLISP: Modify, AutoLISP: Polylines | 8 Comments

AutoLISP: Great Dialog Box to Turn On Layers from Various States

If you’re like me, you have a handful of routines, scripts or macros that let you basically “turn on” layers Thaw those frozen layers; Unlock those locked layers; Turn on those Off layers… The routine featured today combines all of … Continue reading

Posted in AutoLISP, AutoLISP XREFs, AutoLISP: Manage, AutoLISP: Modify, Layers | 1 Comment

AutoLISP: Purge Page Setups

The code posted below will purge all Page Setups except for the current page setup (if one is applied). If you have ever received a drawing with many page setups this routine will help reduce the amount of setups that … Continue reading

Posted in AutoLISP, AutoLISP: Manage, AutoLISP: Modify, Manage, Printing - Plotting, Uncategorized | 3 Comments

AutoLISP: Advanced Polyline Offset

Not knowing what to call this routine, I think that it is more of a combination of an advanced Offset command that automates the placement of the vertices at the (M2P) Mid-Between-2-Points. If you need an offset that is between … Continue reading

Posted in AutoLISP, AutoLISP: Creating, AutoLISP: Modify, AutoLISP: Polylines | 4 Comments

AutoLISP: Fillet and Match PLINE Width

With the release of AutoCAD 2012 the JOIN command received some improvements. It will join all of the selected objects regardless of what type of objects they are (line, arc, polyline, 3Dpolyline, spline) and turn them into the most complicated … Continue reading

Posted in AutoCAD 2013, AutoLISP, AutoLISP: Modify, AutoLISP: Polylines, Modifying, New in 2012, New In 2013, Polylines | 4 Comments

Text to Multileader

This routine will allow you to select either an MTEXT or DTEXT (single line text) object and then create a multileader from its contents on the current layer and the current multileader style. Here’s how: AM <enter> to start Add … Continue reading

Posted in AutoLISP, AutoLISP: Modify, AutoLISP: Text, Leaders, Modifying | 13 Comments

AutoLISP: Select block by name

Even though, you can use the SELECTSIMILAR [found here] command to select a block and then this command will select the other blocks like the selected block…Here is a LISP rouinte that will make a selection set of a named … Continue reading

Posted in AutoLISP, AutoLISP: Blocks, AutoLISP: Modify | 12 Comments

AutoLISP: Heal – Erase Block & Heal Polyline

Just like the previous post that heals lines, this routine will work on polylines. it will erase the selected block and then join the two polylines into one. Note: If the block is placed on a curved segment of a … Continue reading

Posted in AutoLISP, AutoLISP: Blocks, AutoLISP: Modify, AutoLISP: Polylines, Blocks, Polylines | 4 Comments

AutoLISP: HEAL – Erase Block & Heal Line

If you have blocks that lie upon a line and where they are on the line it has been trimmed, this routine might be of some use. this routine will let you simply select the block that rests on your … Continue reading

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

AutoLISP: Fillet To A Selected Point

This is a useful routine that lets you easily create a fillet when the radius of the fillet is not not known. The point that you pick while defining the radius will lie along the fillet. Here’s how: FP <enter> … Continue reading

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