Category Archives: Blocks

AutoLISP: Text Calculator by LM

Last Spring, I asked Lee Mac for a program to help me with my job at the time and he delivered. You can find the program here. What it does is allow you to select various text objects whether they … Continue reading

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

AutoLISP: Individual Attribute Visibility Toggle

Here’s another great routine by Lee Mac. If you have ever needed to turn on or off a specific attribute, and used the BATTMAN (Block ATTribute MANager) command, you know that it toggles on or off the attribute you specify … Continue reading

Posted in Attributes, AutoLISP, AutoLISP: Attributes, Blocks | 4 Comments

AutoLISP: Edit Block with .dcl (dialog box)

The very first thing that I must say is that there are 2 files for this tool to work 1) .lsp file 2) .dcl file. YOU MUST SAVE THE .dcl FILE IN THE SAME MANNER AS YOU WOULD A .lsp … Continue reading

Posted in AutoLISP, Blocks, Layers, Modifying | 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

Insert OSNAP

Have you ever wondered what the OSNAP that is called “INSERT” does? Well, here’s what it does: You can always set this in the “running OSNAPs” or use the OSNAP overrides (shift + right-click and select “Insert’ or entering INS … Continue reading

Posted in BASICS, Blocks, Text, TIPS, XREFs | 1 Comment

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

Add A Block Definition to A Drawing

This tip is one that I wish I new a while back. You can add just the block definition to a drawing without placing the block in the drawing. This may not seem all that useful but if you have … Continue reading

Posted in BASICS, Blocks, Customization | Leave a comment