Category Archives: Layers

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

Layer Naming Restrictions

Here are some layer naming restrictions when creating or editing layers while in the Layer Properties Manager… 1) The most obvious restriction is that you cannot have 2 layers named that have the same name. 2) Certain characters are restricted; … Continue reading

Posted in BASICS, Layers | Leave a comment

Disable Viewport Activation

While working in paper-space, you may be wanting to simply move things around. The trouble sometimes is  accidentally activating an unlocked viewport and messing up the correct position or scale of the that viewport. In a perfect world, the viewport should be locked … Continue reading

Posted in Customization, Layers, Modifying, Paper Space, Text, TIPS, Viewports | 2 Comments

AutoLISP: Adding A Suffix to Layer Names

To go along with the previous post which adds a Prefix to layer names, this one allows you to add a suffix to layer names. Here’s How: RL2 <enter> to start Enter text string to be added to the end … Continue reading

Posted in AutoLISP, Customization, Layers, Modifying, TIPS | Leave a comment

AutoLISP: Add A Prefix To Layer Names

This routine is a great little routine that allows you to add a prefix to all layer names. Although, It does not allow you add a prefix that already exists in at least one layer name like “A-.” I will … Continue reading

Posted in AutoLISP, Customization, Layers, Modifying, TIPS | 1 Comment