
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I zoom extents it zooms out too far. I can see a small rectangle that looks like text when you zoom out to far, but I can't select it or edit it.
I figured out what it was by following these steps. I typed QTEXT and turned it on. Then I could see the outline of a box. When I open the Attribute Editor I see that the block is WD_WNV which is the vertical wire number block in AutoCAD Electrical. The value of the WIRENO attribute is three spaces. Because it is just spaces you do not see any grips on the block but when you zoom extents, AutoCAD still knows it is there and includes it in the extents.
At this point I could just delete the block, or delete the spaces so it is blank. The problem is that we have thousands of drawings that have this block there (because we always copy old designs to start new ones). I am trying to find a solution that will work system-wide, or a command I can run upon opening each drawing that will delete the block.
All of these drawings were created in AutoCAD LT, I have no idea how the WD_WNV block made it's way into these drawings. It is interesting that AutoCAD LT 2019 does not see this block when zooming extents, but AutoCAD Electrical 2021 does see it. Also of note, we have one user that zoom extents doesn't see the block in AutoCAD Electrical.
I thought that maybe I could run a Find and Replace every time I open a drawing and replace the three spaces with nothing but the command will not replace it if it leaves the text empty.
I also thought we could run a Block Swap on startup to replace that block and select the option to discard all old attribute values. However, this would remove any valid vertical wire numbers in AutoCAD Electrical drawings.
Does anyone know of a way to edit this block easily on thousands of drawings? Or, is there some LISP we could run on startup to edit the block? Is it possible to exclude a specific layer from consideration of the Zoom Extents (without freezing the layer)? Open to any ideas. Thanks in advance, sorry for the long question. I will attach an example drawing if anyone wants to look at it.
Solved! Go to Solution.