Tag Archives: AutoCAD

AutoCAD 2009 – ViewCube problems?

Having been very effusive in my praise of AutoCAD 2009’s ViewCube feature, stating among other things that “the ViewCube looks like a finished, polished tool”, I may need to backpedal. Those views, along with all of my 2009 Prequel posts, were based on my experience with the Release Candidate.  Although ViewCube was very stable for me in pre-release versions of 2009, I’ve seen severe ViewCube stability problems in the shipping software.

I’ve seen the following problems in just a few minutes use of the ViewCube, on two different PCs:

  • Picking the WCS button under the ViewCube and then picking a different visual style led to AutoCAD going into an endless loop where it kept flashing up and removing the WCS menu about twice a second. Ctrl-Alt-Del was needed to get out of this. This lock-up could be repeated by using the UCS button and picking in the drawing area to make the UCS menu go away.
  • In my attempts to reproduce this on another PC I couldn’t immediately do so, but by using the Home feature and changing visual styles I could make my cursor disappear so it looks like AutoCAD is locked up. No cursor was visible anywhere within the AutoCAD window (including crosshairs, pickbox and arrows), but the normal Windows cursor was visible outside AutoCAD. I could use the invisible AutoCAD cursor to highlight buttons and could therefore close AutoCAD without losing anything.

So, if you are using the shipping version of AutoCAD 2009, I suggest you save all drawings in your session before experimenting with the ViewCube. I would be interested in your experiences with the ViewCube. Is it reliable for you?

AutoCAD 2009 – Automatic spell checker

I’ve seen quite a few positive comments about the new automated spell checking feature, with some people saying that it alone is enough to make AutoCAD 2009 worth the price of admission. I wouldn’t go quite that far, but it is a nice feature. If you enter or edit text or mtext, a little dashed red line appears under words that are not in the dictionary. Right click on an unknown word and the menu will offer several suggestions, allow you to ignore the word or add it to the dictionary.

It does have limitations, though, such as not working with attributes. Don’t expect it to do the things that Word does, such as auto-correct words or check your grammar. There is nothing to inform you that you have used a valid word in the wrong context, so AutoCAD considers this to be a perfectly valid sentence:

Eye cant under stand how any one cud sell any off they’re worms rung wen awl 0f there worlds ate testes width a auto mated shell checked.

Translation:

I can’t understand how anyone could spell any of their words wrong when all of their words are tested with an automated spell checker.

AutoCAD 2009 – Layer Palette and performance

If you’ve noticed some normal drafting operations are much slower in AutoCAD 2009 than in earlier releases, try turning off the new Layer Palette and see if the problem goes away. For example, editing viewports with the Layer Palette visible can be completely unworkable. Don’t just auto-hide it, close it altogether.

Another problem presented by the Layer Palette is that any layer changes you make are applied as you make them. This sounds great in theory, but if each operation takes a while to perform then that’s much less efficient than the old method where all changes are made at once when OK or Apply is picked.

I know a non-modal layer interface was a common wish and it sounded like a cool idea, but now Autodesk has actually been kind enough to grant this wish I’m finding I prefer the old method. I generally don’t need access to all that layer functionality all of the time, so it makes sense to only have the interface occupying that big slab of screen real estate when I actually need it. Your requirements may differ, of course.

If you’re a layer Luddite like me, you can use the old interface by issuing the Classiclayer command. Alternatively, if you set the undocumented system variable LAYERDLGMODE to 0, the Layer command will invoke the old interface instead of the new one.

AutoCAD 2009 – Action Recorder needs action

One of the banes of AutoCAD over the past few years is the phenomenon of the half-baked feature. A new feature is added to the product with serious design deficiencies and/or bugs and other shortcomings that make it much less useful than it should have been. I’m sure you have your own favourite examples of this. I may expand on this theme in future, but for now let’s concentrate on one brand new and particularly undercooked feature, the Action Recorder.

The ability to record and play back macros is undoubtedly something that many users want, and has featured prominently in some wishlists. Autodesk has now provided the Action Recorder. Wish granted, right? A shining example of Autodesk listening to its customers and providing what they want and need? Not exactly. In fact, this wish has only been granted at the most superficial level.

Here is the wish as seen on the 2003 AUGI Top Ten AutoCAD Wish List (it’s number 6): “Provide a VBA Macro recorder.” Here it is as it appeared in the February 2006 AUGI Wishlist (it’s number 1): “The ability to record the process of a certain task and assign a quick key to it – similar to Microsoft’s macro recorder for office products.”

People were asking for something similar to what they had in Microsoft products. That is, something that not only allows actions to be recorded and played back, but to also create some kind of editable programming language code. Why would people want that? Because recorded macros can be easily examined, modified, combined, changed from one-off to repeating sequences, used as the basis for slightly different routines without requiring re-recording, incorporated into full-blown routines, and so on. The need for editable code is blindingly obvious, really.

So, how does Action Recorder store its macros? As VBA code? No, but that’s not surprising because Microsoft has dictated that VBA is doomed. LISP code, then? No, LISP is unfashionable at Autodesk. Script files? Nope. XML? Try again. It’s a new and proprietary format. It’s binary, not text. It’s undocumented. There is no known access to the code via AutoCAD’s other programming interfaces. In summary, it’s a closed format.

Does that matter if you can edit it using Autodesk’s tools? Yes it does, but in any case you can’t edit it in any meaningful sense. The only editing mechanism provided by Autodesk is the Action Tree, and it’s woeful. Pretty much the only things you can do with it are to delete whole commands and to change certain recorded actions to prompt for user input instead. You want to change a macro to set up certain layers before you start? Sorry. You want to add a command to the end of a macro? Nope. You’ve picked 3 times during a command and you want to change it to 2 or 4 times instead? Too bad. You want to use one macro as the basis for a whole series of macros, just changing a couple of things from macro to macro? No can do.

This lack of a useful editor isn’t just a problem for CAD Managers and power users. If anything, it’s even more of a hindrance for the novice users it’s obviously aimed at. Who is more likely to get an extended command sequence wrong? A power user with years of experience writing menu macros, or a new user? So who is most likely to need to fix up their macros after recording?

There are various other things wrong with the Action Recorder that go to make it a very frustrating tool. The way in which points with object snaps are recorded is unusable. The way in which zooms occur is bound to cause lots of surprises. The inability to record dialogue box operations is going to confuse and frustrate many users. The habit of the Action Tree in always pinning itself in place is annoying. Its inability to resize outside a very limited range is restrictive. The plethora of in-your-face warnings will have you groaning more than Vista’s User Access Control, and don’t think of turning them off in advance, that’s not allowed. Finally, if you’re not a Ribbon user, forget it. While the command line interface allows for recording and playing back macros, there is no way of editing them. So unless you want to do exactly the same thing in exactly the same location in all your drawings, you’re out of luck.

Don’t take my word for it, try it for yourself. Try to make a macro that does something simple but useful like rotating a piece of text about its insertion point, or inserting a block on a line and then trimming the line within the block. By the time you’ve worked out that it can’t be done, you could have learned about menu macros from scratch and written something that actually works, several times over. A word of warning; please make sure you lock up any pets or children before starting this experiment.

The Action Recorder is a “brochure feature” only; it serves as a marketing tool for Autodesk rather than a genuinely useful productivity tool for its customers. This wouldn’t be so bad if it was an isolated case, but it isn’t. Unfortunately, half-baked new features are now the rule rather than the exception.

Why is this so? Is Autodesk cynically trying to fool its customers in an evil revenue grab? Does the AutoCAD development team spend its time trying to come up with deliberately half-baked features? No. The developers don’t want to make these weak and useless things; they are human beings with the same urge as the rest of us to do well and be proud of their work. The problem is that there is simply not enough time to do a good job with a major feature and finish it off. It all comes down to the 12-month release cycle; it just isn’t working.

Grammar and AutoCAD

I have a lot of posts about AutoCAD and a few about grammar, but I expect this will be the only post I ever make that combines the subjects.

Autodesk founder John Walker, a very prominent figure in AutoCAD’s history, has written an article about the correct use of the apostrophe. While I enjoyed it, I think it’s too insulting to be useful. People struggling with the correct use of the apostrophe are unlikely to get past the part where they are called morons, to read the useful advice below.

If you just want simple apostrophe advice without being belittled, I suggest you look at the main page of the The Apostrophe Protection Society instead.

AutoCAD tip – more on the Oops command

In a comment on my Five More Simple Tips for AutoCAD post, Jeremy had some questions about the Oops command. I thought I would explain the command in more detail in another post so more people will see it.

The first thing to understand is that Oops varies from Undo/U in that it only reverses those commands that erase objects. The Erase command is obvious, and the same applies to pre-selecting objects and hitting the Delete key, but the Block and Wblock commands can also erase the objects that go to make up the block. In such cases Oops can be used to restore those objects without undoing the block creation step.

Another difference is that unlike Undo, you can only go back one step with Oops. If you erase one set of objects and later erase another set, issuing two Oops commands will not restore the first set of objects. Where Oops has the advantage is that it can unerase something that you erased 100 commands ago, without undoing the intervening 99 commands.

What happens if you use Oops when there is nothing to unerase? Nothing. Oops simply returns to the Command prompt. Also, there is no short form of the Oops command in standard AutoCAD. O invokes Offset, OO does nothing and OP invokes Options.

Finally, the U and Undo commands interfere with Oops. I suspect this is what Jeremy was seeing when the command wasn’t working for him. To see what I mean, select and right-click > Copy the following commands. In an empty drawing, right-click > Paste them into the Command prompt area:

_.Zoom _Win 0,0 10,5
_.Line 1,0 1,2

_.Line 2,0 2,2

_.Line 3,0 3,2

_.Line 4,0 4,2

_.Erase 1,1 2,1

_.Line 5,0 5,2

_.Line 6,0 6,2

_.Move 5,1 6,1  5,3 7,3

This command sequence zooms to a suitable area, draws four lines, erases the first two, draws another two and then moves them to the right. If you use Oops immediately after that, the first two lines will return. However, if instead of doing that you first undo the Move command and then use Oops, the lines will not return.

Five More Simple Tips for AutoCAD

More simple AutoCAD tips, as promised:

  1. If you erase some objects, draw a few things and then want your erased objects back without losing the things you drew in the meantime, enter OOPS rather than undoing the commands.
  2. At any Select objects: prompt, you can select using a triangle, non-orthogonal rectangle or other odd shapes, by entering the WPolygon (WP) or CPolygon (CP) options.
  3. If you have a paper space viewport entirely inside another one, it can be hard to make that viewport current just by picking in it. Try Ctrl+R to cycle through viewports instead.
  4. Move some objects, rotate them to match something and optionally even scale them to match too, all with the ALIGN command (Modify > 3D Operations > Align). Despite the menu location, this command is great for both 2D and 3D work.
  5. The ID command tells you where a point lies in space. In many cases you can do that without a command. Select the object, hover over a grip, look at the coordinate display in the bottom left corner. For this to work, the coordinate display can’t be frozen. If it is, double-click on it to free it up.

Five Simple Tips for AutoCAD

As my forced change to a different blog theme (thanks IE7) has meant the demise of my random AutoCAD tip feature, you may as well have the tips in a blog post instead. Here are the first five. These are fairly simple tips that apply to all recent releases. You probably know most of them, but just in case…

  1. If you need to draw circles, slots or rectangles around multiple text objects, use the Express Tools command TCIRCLE (Express > Text > Enclose Text with Object).
  2. When using the TRIM or EXTEND command, you don’t have to select any edges. Just hit Enter and AutoCAD will assume all of the visible objects are to be used.
  3. The TRIM or EXTEND commands can be used in place of each other by using the Shift key. When picking an object in TRIM, hold down Shift and the object will extend.
  4. The MULTIPLE command will force the next command you enter to repeat until you hit Esc. In CUI or menu macros, you can do something similar by starting the macro with *^C^C instead of just ^C^C.
  5. You can fillet or chamfer all vertices of a polyline at once. Use the FILLET or CHAMFER command’s Polyline option and pick just once instead of picking every corner twice.

That’s it for now, five more tips later.

Thanks for the welcome

A belated thank you to Kiwi Robin Capper for his welcome to the CAD blog world. Here’s a snap I took of Robin at Autodesk University 2006:

Robin Capper

Similarly, thanks to Lynn Allen for linking to my post about her famous Cell Phone Story. Here she is, also at AU 2006, presenting me with a signed copy of her excellent book AutoCAD: Professional Tips and Techniques which I won by skillfully (ahem) waving my arms furiously at the right moment during her presentation.

Lynn and Steve

Finally, thanks to Shaan Hurley for welcoming me to the blog fold. Here is one of the more sensible shots I have of him at AU 2006. You really don’t want to see the others.

Shaan and Steve

Customer Service 2 – Don McMillan

My last customer service story was about McDonald’s. This one is about Donald Mc., but there the similarity ends. After I returned from Autodesk University 2006, I decided to buy a DVD from the comedian that Autodesk put on before the Blue Man Group, Don McMillan. As you’re reading a CAD blog, you are probably geeky enough to appreciate this man’s funny engineeroid slant on life. The likelihood is actually 93.6%. (Did you know that 74.7% of statistics quoted on the Internet are made up?)

I wanted to show my wife this funny guy and re-live some of the moments from his show, so I visited his web site and attempted to order the DVD. Unfortunately, his on-line shopping company would not accept orders from Australia, so I dropped him an email. He asked for a US$ money order, but they’re an expensive pain here. I happened to have some cash left over from my trip, so I sent that to him instead. As soon as I informed him that the money was in the mail, he sent off the DVD (which comes with a bonus CD too). My money (it was actually $1.05 too much because of the US$ denominations I had handy) and his DVD crossed in the mail, arriving at about the same time. We trusted each other, and it worked.

I was surprised and delighted to discover that Don had shipped not only the DVD with its bonus CD, but another different bonus CD too! With a hand-written note from Don which was, amusingly, on a Post-It note.

The DVD and both CDs were, as expected, very funny. Top service, top product, thank you Don!

Artist site: www.technicallyfunny.com

AutoCAD on Linux – Video

Lots of people get excited at the prospect of AutoCAD running under Linux. I’m not one of those people, but for those of you that are, here’s a video from a Linux enthusiast that shows AutoCAD running in an environment that’s doing all kinds of cool geeky stuff. It’s not mine and it’s from October 2006:

YouTube Link

Cool if you like that kind of thing, that is. I think the effects would drive me mad after a short period of dorkoid enthusiasm, but of course being Linux it would all be under complete user control.

Before you get too excited, I should point out that this is AutoCAD 2000, that is, software from last century. It’s running on Ubuntu Dapper with XGL installed and it required the copying of DLLs around from a Windows installation. It’s not supported (of course), and there’s no way of seeing what the real-world drafting performance and reliability is like. It’s a cool fun exercise for somebody with far more nerdish street cred than myself, but it’s not an environment I would use to earn a living.

AutoCAD tip – persuade Open to highlight your drawing

In AutoCAD, when you have a drawing open and you go to open another, does Open automatically scroll down and highlight your current drawing?

This can be very handy when you’re working your way though a set of drawings. If this isn’t happening for you, here’s how to make it do so.

In Explorer, go to Tools > Folder Options > View tab and turn off the toggle for Hide extensions for known file types. (Windows XP shown). This is the first thing many people do when setting up a new Windows system. If you fit into this category, you have probably never seen this problem yourself, but you may still be able to use this knowledge to help others.

Autodesk University 2006 Video

I didn’t make this video and it’s old news, but as I contributed some photos and I’m in it, I guess I’m entitled to link to it in my blog now I have one. If nothing else, you can use it to see what I look like (unfortunately). Except I now look different.

By the way, I meant everything I said in this video. Autodesk University is an awesome event.

Created by Helge Brettschneider, originally posted on Between The Lines by Shaan Hurley.

YouTube Link

Lynn Allen’s Famous Cell Phone Story

Whatever the subject, Autodesk evangelist and fellow Cadalyst writer Lynn Allen always gives a very entertaining and informative presentation. If you attend one and you’re lucky, you might get to hear this now infamous story.

This footage was taken at Autodesk University, Las Vegas, November 2006.

Sorry the sound’s not the best, you may need to turn it up a bit.

YouTube Link