Category Archives: AutoLISP

AutoLISP: Mid-Point of Entire Polyline

Here is a simple and great routine. This routine places a “point” at the mid-point of the polyline. Usually, you can simply snap to the mid-point of a polyline segment. But if you want to simply find the mid-point of … Continue reading

Posted in AutoLISP, Polylines | 7 Comments

AutoLISP: Remove Binding Prefixes from XREFs

After you have bound an XREF to a drawing you know the nastiness that comes into your drawing – Layers, Blocks and styles now a have a prefix added to the front of their names. This routine (I wish I … Continue reading

Posted in AutoLISP, Blocks, Layers, Modifying, Text, TIPS, XREFs | 4 Comments

AutoLISP: Perpendicular to Entity

Here’s a handy routine that lets you draw many perpendicular lines to any type of object. This can be done manually by using the perpendicular Osnap, but this routine lets you do this quickly. Very handy for curved objects. As … Continue reading

Posted in AutoLISP, Polylines, TIPS | Leave a comment

AutoLISP: Spline Split

I don’t know how useful this routine is – but it is still pretty cool. Someone requested it for a landscaping project and Lee-Mac came to the rescue. What it does – Lets you draw a spline that intersects itself … Continue reading

Posted in AutoLISP, Modifying, TIPS | 2 Comments

AutoLISP: Make and Save Custom Hatch Pattern

This Routine has been featured on Cadalyst’s website and is very handy. If you have ever wondered how to make a custom hatch pattern and then looked at the coding that is required, you will really appreciate this routine. The … Continue reading

Posted in AutoLISP, Customization, Hatch, TIPS | 47 Comments

AutoLISP: Break Polyline Segments

Here’s a great routine that lets you break a polyline segment. Simply select the segment that you want to be a separate polyline entity from the ones that it was initially created with. This routine works on closed polylines line … Continue reading

Posted in AutoLISP, Modifying, Polylines | 2 Comments

AutoLISP: Align Attributes

Here is a useful routine for aligning attributes in a block. Here’s how: AATTR <enter> to start (Align ATTRibute) Specify the alignment direction Vertical or Horizontal Select the Attribute that the others will be aligned to Select the rest of … Continue reading

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

AutoLISP: Break At Distance

Even though this routine prompts you to select a curve, this routine can be used on other objects as well. You simply select an object near the endpoint where you want to start from then specify a distance along the … Continue reading

Posted in AutoLISP, Modifying, Polylines | 6 Comments

AutoLISP: Break Polyline at Vertex

You can always explode a Polyline if you need to break your polyline into individual segments. This method will make the polyline into individual lines. But what if you would like these individual segments to remain individual polylines? That’s where … Continue reading

Posted in AutoLISP, Modifying, Polylines | 1 Comment

AutoLISP: Break at Intersections With A Gap

Here is a very useful routine that breaks objects at their intersections and then creates a gap at the intersection on the first object that you select. Here’s how: BI <enter> to start Specify the gap distance.  <enter> (Note: the … Continue reading

Posted in AutoLISP, Modifying, Polylines | 1 Comment