CADTutor: The best free help for AutoCAD on the web
Michael's Corner RSS Feed

Michael’s Corner

Michael BeallMichael's Corner is a monthly publication written by Michael E. Beall, Autodesk Authorized Author and peripatetic AutoCAD trainer. Michael travels all over the USA, bringing his fantastic experience and great understanding of AutoCAD to his clients. Michael's Corner brings together many of the tips, tricks and methods developed during these training sessions for the benefit of all users.

Michael's Corner provides something for every AutoCAD user. Every month, a number of articles cover a wide range of topics, suitable for users at all levels, including "The Basics" for those just starting out. Essentially, the aim of Michael's Corner is to help all AutoCAD users work smarter and faster.

Subscribe

We now have a new system where readers can subscribe (and unsubscribe) to the Michael's Corner mailing list. This is an automatic system which gives you complete control over your subscription. Most importantly, we promise never to share your email details with anyone else.

This month…

April - Four…

There are three more postings of Michael's Corner to come after this one, and I hope each one will kick your productivity a notch. I'll also be including some “Best of” in case you're just now joining us… or forgot all about it.

And now that Autodesk® AutoCAD® 2017 is now out on the streets, you're going to want to run down to your local reseller and get your own personal copy! Oh, if it were only that simple. (Ch-ching!)

So, as you scroll through this post, you will find insights on…

…The AutoCAD 2017 PDF Import command
…Copying nested objects within a block
…“Best of”: The Wipeout object and Irregular Viewport Frames

And for those of you who would like the last 14 years in book form (or PDF), YES, I am currently updating The AutoCAD® Workbench to include 'em all. The AutoCAD Workbench, Final Edition will be updated to A2017 and will, “Lord-willing and the creek don't rise”, be out by early Fall as the last Michael's Corner is posted.

[Ah, and even though my contribution of Michael's Corner is coming to an elegant end, I'll not be retiring anytime soon. My training around the planet will continue. I'm having waaaaay too much fun seeing my friends and customers and meeting new ones.]

Happy Spring!

This month's articles

The Big Dog in A2017
Copy Nested [Express Tools]
“Best of” Odd Spot: Wipeout
“Best of” Basics: Irregular Viewport

From the Vault

Originally published October 2007

Custom Button #1: Consistent Revision Cloud

The Revision Cloud command is a wonderful routine, but the most aggravating feature is that the Arc Length is about as fickle as the weather. One day it could be 1/2″ the next it's set to 487′. (It's actually related to the current Dimscale, but let's not go there.)

I've always wanted to run a series in the Power Tool section on fun macros or modified commands you can add to your tool palette, so here's the first one.

The first step is getting the Revision Cloud button onto your tool palette, then we'll modify the Command String. [For additional button and palette insights, I have written about custom buttons on a palette in January 2006, August 2006, and April 2007.]

Instructions to Add a Toolbar Button to a Palette

  1. Open the toolbar from which you will be copying the command - the Draw toolbar in this exercise - and also open the Tool Palette window. (If you want to make a new palette first, right-click on a the current tab, then click New Palette and name it.)
  2. Customize PalettesRight-click on the title bar of the tool palette title bar (or in between icons on the palette) and click Customize Palettes to open the Customize dialog box.
  3. Move the Customize dialog box aside, it's simply the key to get in the "door" for the process of copying a button to the palette.
  4. Drag and dropClick and drag the Revision Cloud button from the Draw toolbar and drop it onto your palette. Now you can Close the Customize dialog box; it has served its purpose.

At this point, you've done nothing more than copy the button onto the palette. Now we need to modify the Command String to specify the Arc length and Style, as well as specify the desired Layer, Color, and Linetype. Before editing the Command String, however, you need to know what the prompts are for the Revision Cloud command itself. It reads…

Minimum arc length: 2′-0″ Maximum arc length: 6′-0″ Style: Calligraphy
Specify start point or [Arc length/Object/Style] <Object>:

When editing the command string "macro", think of what you would type at the Command line in response to the prompts.

Instructions to Edit the Command String of a Command on a Palette

  1. Right-click on the Revision Cloud button on the palette, then click Properties to open the Tool Properties dialog box.
Revcloud command string
Here's what the Revcloud's Command String means:

^C^C - Cancel; essentially hits the ESC key
_revcloud - The underscore in front of the command means to use the English version of the command. You can delete it.
space - You will also notice there's a space after the command; you can back that out, too. (See the semi-colon comment below.)

  1. Edit the Command String to read as follows (it is not case sensitive; I did that so you could see it better):
^C^CREVCLOUD;A;30;90;S;C
Here's what the additional characters mean:

; - Presses Enter; it's easier to discern a semi-colon than a space when pressing Enter in a macro
A - The Arc option of the Revcloud command
24 - Specifying the minimum arc length
72 - Specifying the maximum arc length (the maximum arc length cannot exceed 3x the minimum. Your call)
S - The Style option of the Revcloud command
C - The Calligraphy option (you can use N for the Normal option if you prefer)

Note: Nothing follows the last character

At this point you have a button on a tool palette that launches the Revcloud command, specifies the Min/Max arc length, and also specifies the Style to be used.

Tool Properties

Bonus Points: Create a layer in the current drawing named "Revision" and give it a color. Edit the General area of the Tool Properties window to read as shown in the figure, then click OK. You will then have a button that can be used to create a revision cloud on the proper layer (yes, even if it's not in the current drawing) in addition to those features specified in the command string. Way cool.

Top of page

Local Navigation

Sponsored Links

Accessibility statement

Valid XHTML 1.0!Valid CSS!Creative Commons Licence