Category Archives: Blocks

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 | 34 Comments

Super Secret: Edit Those Un-editable Blocks

http://wp.me/p1aURt-jT This one’s for you Eric. Intead of knocking over your cubicle because you can’t edit a block, there is an AutoCAD system variable that lets you lock your blocks from being able to edit them in the Block Editor. … Continue reading

Posted in Blocks, Customization, Modifying | 8 Comments

AutoLISP: Align Attributes

Here is a simple yet helpful LISP routine that will let you align you attributes after they have been added to a block. It allows you to align them either vertically (up & down) or vertically (side-to-side). Note: This routine … Continue reading

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

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 | 6 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