CADTutor: The best free help for AutoCAD on the web

Michael BeallMichael’s Corner #78
June 2009

NeoCon No.7!

by Michael Beall

This year marks the seventh year running that I have presented my AutoCAD Toolbelt seminar at the NeoCon World's Trade Fair (www.neocon.com)… and I have enjoyed it every year. To that end, the tips this month either come directly from one of my contract furniture customers, or relate directly to their daily AutoCAD involvement.

In May this year, I held an ‘open to the public’ AutoCAD Toolbelt Productivity seminar in Phoenix [if you would like me to come to your area, please let me know and I'll set one up]. As I expected, Tara (a longstanding customer now at WORKspaces), was interested in customizing the right-click shortcut menu. That solution is in the lead article. Then Dennis (one of three who attended from ethos), pointed out how to bump the number of drawing files listed in the A2009/A2010 Menu Browser. You'll find that in the Odd Spot.

The Power Tool is something I discovered in the A2009 CUI as I was setting up the lead article. And the Basics covers something brand new in AutoCAD 2010: the ability to rotate a viewport and either take the view with it or retain the view orientation; very cool.

Also, in case you missed it, Autodesk had me in the hot seat for their "Ask the Expert" series for 5 days in the middle of May. Gracious, that was a real exercise in humility! Of the 22 questions I was peppered with, I had to look up half of 'em. If you're interested, you'll find the entire series of Expert questions and answers at the "Ask the Expert" archives (http://autocad.autodesk.com/?nd=ask_the_expert_past).

Have a healthy and safe summer!

RSS FeedAs always, if you would like to be notified when Michael's Corner is posted each month, just subscribe to our mailing list and we'll be sure to let you know when this critter comes online. There's well over 2,000 of you now and it is an honor to be looked upon as a resource for your AutoCAD well-being. You can also keep in touch using the RSS feed. If you would like to contact me directly, you can do that also.

Blessings to one and all,
Michael

Edit the Shortcut Menu

Default Mode

Those of us from the old school like to right-click to repeat the previous command when there is no command current. To that end, you folks are the target audience for this exercise. For reference, on the User Preferences tab in Options, you will find the Right-Click Customization button where you can set the Default Mode as shown.

The reason this is important to clarify, is because those of us using right-click to repeat the last command will find it easier to customize our object snap cursor menu (Shift + right-click) in the Main CUI rather than Partial which is where I typically encourage you to do your customizations.

In the following exercise, we create a new item for the Object Snap Cursor menu that runs the Endpoint snap twice. This is something you may use when querying a Distance between two points, such as between the panels of a workstation and the lateral files, another panel run, or a wall.

Instructions to Customize the Object Snap Cursor Menu

  1. Open the CUI, then expand the Shortcut Menus node.

  2. Expand the Object Snap Cursor Menu node.

  3. Right-click on the Endpoint item, then click Duplicate (essentially a Copy & Paste in one routine).

  4. Name and Macro PropertiesClick on one of the Endpoint items, then modify the Properties for the Name and the Macro as follows:

    Name:  &2X_Endpoint
    Macro:  _ENDP;\ENDP;

    Legend:  (many of you know this from previous articles)
    ;  Press Enter
    \  Pause for user response

    The name must have the ampersand preceding whatever you want have displayed when the cursor menu is called up. Whatever you call it is up to you. In the macro, I am partial to using a semi-colon to indicate [Enter] rather than a space. The backslash pauses the macro so you can pick the point using the incurred endpoint snap. Neither the Name or the Macro are case-sensitive.

  5. 2X_EndpointClick OK to apply, save, and close the CUI, then try out your customized Object Snap cursor menu with Shift + right-click!

Top of page

Power Tool

Edit the Rollover Tip Info

If you have A2009, you have probably encountered the vast array of tool tips, one of them being the Rollover ToolTips… and you promptly turned them off (OptionsDisplay tab).

Rollover ToolTip

Let me encourage you to perhaps leave them on if you work on drawings from other sources. In this exercise, you will learn how to modify the information displayed.

Instructions to Edit the Information Shown in the Rollover Tooltip

  1. Type CUI to open the Customize User Interface dialog box.

  2. Expand the Partial CUI Files node (A2009) or Partial Customization Files (A2010), then expand CUSTOM then click Rollover Tooltips.

  3. Edit Object TypeOn the right side, click the Edit Object Type List button to open the list of AutoCAD object types.

  4. In the object type listing, check the box for Hatch and the information on the right side of the CUI will now display additional, hatch-specific properties. You will also see the object type "Hatch" listed with an exclamation point beside it indicating no properties have been selected.

  5. Under the General list of properties, I'm going to check Layer; under Pattern, Pattern Name; and under Geometry, Cumulative Area. You will now see that the Hatch item no longer has the exclamation point.

  6. Click OK to apply, save, and close the CUI. Now when you ‘rollover’ an object in the drawing (albeit very slowly and with a pause), you will see the customized information for that object type!

Top of page

The Odd Spot

A2009/A2010 Menu Browser Files

Recent Documents

Beginning in A2009 (the first version with the big red "A" Menu Browser), you have the ability to specify the number of drawing files listed when you click said big red "A".

You will find this setting on the Open and Save tab of the Options dialog box.

Number of recently-used files

Note: The number of drawing files to list when using the File pulldown menu is still only 9.

For coverage on how to change the size of the Preview image, take a look at Michael's Corner, December 2008, Basics.

Top of page

The Basics

Rotating a Viewport in A2010

Rotating a Viewport

Joining the bandwagon of reviews on cool AutoCAD 2010 features, I wanted to take you through the updated ability to rotate viewports.

Humble confession. I didn't realize this, but you have been able to rotate viewports in previous versions, as you see in this image where I'm using A2008. The trick is, you can only rotate the viewports you Convert or Clip from existing objects! The problem, however, was that the objects IN the viewports didn't rotate. [To see how to make irregular viewports, take a look at Michael's Corner September 2003 - "Irregular Shaped Viewports".]

Instructions to Rotate a Viewport in A2010

Viewport
  1. Open a drawing, then begin a New layout tab and create a viewport to view the Model space objects.

  2. Launch the Rotate command, then select the viewport to be rotated and press Enter.

    At this point, you can rotate the viewport as necessary. At the completion of the Rotate command, the objects in the viewport are rotated as well as the viewport. The next few steps take you through how to make an object in the viewport horizontal by using the Reference option of the Rotate command. [Michael's Corner, April 2003, "Scale & Rotate"]

  3. Base pointContinuing with the Rotate command, when prompted to specify a Base point, you can specify a point on an object in the viewport if you want.

  4. At the prompt for Rotation angle, enter R for the Reference option.

  5. Two pointsYou are now given the opportunity to (accurately) pick two points that define the angle you want to be orthogonal to the layout.

    Note: The Base point and the first point specified for the Reference angle can be the same point. The Base point is simply the pivot point, of course. You can use any two points to define the reference angle after that.

  6. RotatedWhen prompted for the new angle, enter the desired value. In this exercise, I entered 90 so the two points I specified for the Reference angle would be vertical in the viewport.

    UCS

    Note: To orient the UCS to the current view, use the View option of the UCS command, View from the UCS toolbar, or View from the Coordinate panel of the View tab on the Ribbon.

Relevant variable

VPROTATEASSOC

<1>  View will rotate if the viewport is rotated
<0>  View will not rotate if the viewport is rotated

Top of page

Left Field

Vacation Preparation: For those of you vacationing in warmer climes, keep in mind that sharks can be placed in a tonic immobility state by turning them upside down. The shark remains in this state of paralysis for an average of 15 minutes before it recovers. (It's not so much the process of getting 'em upside down that I'd worry about, it would be how much of that "average" 15 minute window I had before they flipped back over.)

Share this page:

Share at Facebook Submit a link at Reddit Share at StumbleUpon Share at del.icio.us Share at Technorati

Local Navigation

Sponsored Links

Accessibility statement

Valid XHTML 1.0!Valid CSS!Creative Commons Licence