AutoCAD

Bug Watch: Battman Bylayer Bug is Bread and Butter to the Bugmeister

15 Nov, 2004 By: Steve Johnson

Oh, no! There's trouble in Gotham City. Terrible Battman puns, and they're headed our way!


Holy Color Calamity, Battman! (2002 to 2005 SP1)
The Battman command (Modify / Object / Attribute / Block Attribute Manager) allows you to do all sorts of neat stuff with attributes. For example, you can choose a block's attribute and change its color, thereby affecting that attribute in all blocks of that name in the drawing. But hold on, something's wrong, Battman! If you change attributes to use a color of Bylayer, it appears to work. But that's just someone at Autodesk being a bit of a Joker. The color is actually changed to a specific, hardwired value that happens to match the color that Bylayer happens to be at the time of the command. If you later change the color associated with the attribute's layer, the attribute doesn't change color as it should.
Workaround: None known that will stop Battman from messing up, but you can fix things up after the fact using the Refedit command. In AutoCAD 2005, that's Modify / Xref and Block Editing / Edit Reference In-Place, but the wording is slightly different in earlier releases. Use Refedit on one insertion of the block, change the color to Bylayer, then use Refclose and save the changes. To fix up the other block insertions in the drawing, use Battman again and click on the Sync button.

Holy Mirroring Mayhem, Battman! (2002 to 2005 SP1)
Insert a block with attributes. Make sure the MIRRTEXT system variable is set to 0, then mirror the block. The attributes will come out the right way around, as expected. Now use the Battman command and make any kind of change to one of the attributes. That attribute will then flip itself in the mirrored block, such that it is the wrong way around, unlike all its little friends.
No known workaround.

Block Lock Shock (2002 to 2005 SP1)
If a block contains any attributes on locked layers, the Eattedit command (and double-click editing) acts as if the whole block is locked, preventing you from editing those attributes that are not locked.
Workaround: You can use the Properties window in AutoCAD 2004 and later to edit the unlocked attribute values. Unfortunately, this also allows you to attempt to edit the locked values. If you do so, your editing efforts will just be discarded without warning. The old Ddatte command behaves correctly in this situation. It will allow you to edit the unlocked attribute values after you pick OK in a slightly pointless alert box. The locked attributes are correctly grayed out. If you still want to use Eattedit because of its extra features, you will first need to unlock the layers of all attributes in the block.

Table Trouble 1 (2005 SP1)
Submitted by Drew Beattie
At the Command prompt, pick a cell in one of AutoCAD 2005's new table objects. Start typing, and the text will end up in the table cell. Well, some of it will. If you type reasonably quickly, you will see that AutoCAD has ignored the second character you typed.
Workaround: None known other than typing slower.

Table Trouble 2 (2005 SP1)
When editing text in a table, you are automatically moved onto the next cell when you press Enter. If the next cell is off-screen, AutoCAD thoughtfully pans down so you can see what you're doing. A problem with this is that it doesn't respect the locked status of viewports. If you are editing a model space table through a locked paper space viewport, and AutoCAD decides to pan down while editing table cells, it will mess up your viewport. If you have paper space dimensions associated with model space objects in that viewport, the dimensions will be left behind by the pan. They do not appear to be attached to the objects any more, but they are still associated. They should fix themselves up after you unlock your viewport and pan it back to where it came from.
Workaround: Try using the new Maximize Viewport feature when editing model space objects.

Still Active Bug is Still Active (2005 SP1)
After playing with the Table Trouble 2 bug, AutoCAD gave me a spurious message: "AutoCAD cannot close DWGNAME because there is a command still active. Please complete the command and try again." I hoped I had seen the last of these after installing AutoCAD 2005 SP1, but it seems there are still some circumstances that trigger this problem. If you know of some exact steps to reproduce this, please let me know at steve.johnson@cadalyst.com.


AutoCAD Tips!

Lynn Allen

Autodesk Technical Evangelist Lynn Allen guides you through a different AutoCAD feature in every edition of her popular "Circles and Lines" tutorial series. For even more AutoCAD how-to, check out Lynn's quick tips in the Cadalyst Video Gallery. Subscribe to Cadalyst's Tips & Tricks Tuesdays free e-newsletter and we'll notify you every time a new video tip is available. All exclusively from Cadalyst!
Follow Lynn on Twitter Follow Lynn on Twitter


Latest News from Cadalyst Partners
Feed
Place your DWG File on a Diet   18 Jun, 2013

I received an email from blog reader Steve Roberts with a suggested tip topic on how to reduce the size and clean up DWG drawing files using four...More>>Read all Between the Lines blog posts>>

Feed
Tech Toys 360: Pro-Form Le Tour de France Bike   18 Jun, 2013

The greatest bike race in the world is held June 19 to July 21 this year. Celebrating its 100th year, the Tour de France sends riders through more...More>>Read more PTC Creo blog posts>>

Feed
Update 3 now available for Revit 2013 Products - Revit Clinic   18 Jun, 2013

...More>>Read more BIMbuilder blog posts>>

Feed
Nice Design—What Does It Feel Like?   17 Jun, 2013

...More>>Read more SolidWorks Blog posts>>

Feed
LiveMap: The Augmented Reality Motorcycle Helmet of the Future?   18 Jun, 2013

Philippe Starck once famously said that there should be no cars on the road—-only motorcycles. While some soccer moms may disagree, his theory...More>>Read more SolidSmack blog posts>>

Poll
How many years' experience do you have using CAD software?
Less than two years
2–5 years
6–10 years
11–20 years
21+ years
Submit Vote




FREE Resources for CAD, BIM, and PLM Users





Subscribe Cadalyst Newsletters