My Photo

Search


  • Search 280+ postings

Site Awards



Syndications for this Site


Mail Bag - When sharing a CUI file, why do the icons not appear correctly?

Mailbag_header_2
Time to respond to another piece of mail, <swish swish> this one comes from the middle of the bag and has a question about sharing CUI files, but mainly with sharing those cool icons that someone spent time making for their custom commands. The issue is that when associating images to a command in the Customize User Interface editor, by default the images that are assigned to a command in CUI are listed as absolute paths which doesn't work the best when sharing CUI files with custom images; especially if a change is made to the CUI file after you gave them the MNR file.

The best solution when creating a custom command is to only have the file name and extension in the Small Image and Large Image fields, instead of the absolute path to the file.  If the images don't reside in the specific spot called out in the CUI file, AutoCAD gets rather confused (meaning the Clouds with a Question Mark appears on the toolbar for the commands that have missing icons).  Below are a few rules to go by to help avoid the dreaded "Cloud of Mystery" icon in AutoCAD when sharing customization files, at least its not the sinister looking smiley any more; curse you Mr. Smiley and those sunglasses of yours.

Smiley_missing_icon

Rules to go by when assigning icons to custom commands:

  1. Assign the image using just the file name and extension, and if you want to you can also use relative paths as well.  AutoCAD simply searches all of its support paths based on the file name and/or relative path that is provided with the assigned image.

    Such as:
    Myicon.bmp
    icons\Myicon.bmp

    The Icons folder that is mentioned above is an Icons folder that is located under a support path that is already part of AutoCAD's Support File Search Path.
  2. Place the images in a safe place other than your My Documents folder. Usually on a networked location if you are sharing the CUI file with multiple individuals or if you work by yourself you can place the images in a specific folder so you can migrate them easily to a future release, such as Icons under C:\Documents and Settings\<user name>\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support. If you place your images in a folder other than Icons, make sure to add the path to AutoCAD's Support File Search Path under the Files tab of the Options dialog box.
  3. Alternatively, you can create a resource DLL that contains the images that are specific to your CUI file. If you create a resource DLL for your menu, it should be placed in the same directory as your menu and have the same name. So if your CUI file is named MyCUI.cui, the resource DLL should be named MyCUI.dll. There are many ways to create the resource DLL, but commonly they are created with Visual Basic or Visual C++.

These changes to the way you assign and manage your images for custom commands will help when sharing customization files and make migrating much easier for future releases.

Sincerely,
  Lee

Using Icon Switches with AutoCAD 2007

Icon switches (or command line switches) are often a forget method of customizing AutoCAD to gain some additional productivity benefits.  Did you know you could use an icon switch to specify the default profile or drawing template that AutoCAD starts up with when you double-click on the desktop icon.  Maybe you have been trying to figure out a way to specify a specific workspace to be displayed when you start up AutoCAD, wonder no more.  Icon switches allow you to do those things and much more with AutoCAD 2007.  AutoCAD has supported icon switches for along time now, since about R14.  To learn more about the icon switches in AutoCAD 2007 and previous release, click the link to access the AutoCAD Icon Switches PDF file from HyperPics.com.  The PDF file includes information about all the different icon switches available, and even a short tutorial on how to modify a desktop icon to use the icon switches.

Double Clicking a Dimension to Open the Text Editor - AutoCAD 2007

I just recently read through AUGI 's Top Ten Wish List for AutoCAD and noticed that number 8 on the list can be achieved with AutoCAD 2007 using the Customize User Interface (CUI) editor.  The number 8 with is to be able to double click on a dimension to open the text editor.  By default double clicking on a dimension opens the Properties palette which is nice, but in some cases not exactly the designed outcome.  AutoCAD 2007 introduced the ability to edit the action that happens when you double click on an object in the drawing window through the CUI editor.  I have included the steps to do this, and if you want to do something other than open the Properties palette or start the DDEDIT command you can create a custom command or AutoLISP file to use instead.

Modifying a Double Click Action in AutoCAD 2007

  1. Start the CUI editor, click Tools >> Customize >> Interface or type in CUI at the command prompt.
     
  2. In the Customizations In pane, click the plus sign next to Double Click Actions.
     
  3. In the Command List pane at the bottom, look for the command Edit.

    Tip: Click in the Command List pane and press 'E' on the keyboard to jump to the commands that begins with that letter.  You can enter more than one of the first letters of the command if you enter them really quickly to get even closer to the command you are looking for.
     
  4. Select the Edit command in the Command List pane and while holding down the left mouse button, drag the command to the Dimensions node (item) under Double Click Actions in the Customizations In pane. Release the mouse when Dimensions is highlighted to replace the Properties command with the Edit command.

    Modify_dimension_dblclk
     
  5. Click OK to save and apply the changes.
     
  6. Open a drawing with a dimension in it or create a new drawing and add a dimension to it.
     
  7. Double-click the dimension object and the In-place Editor starts.

For more information on AUGI's Top Ten Wish List for AutoCAD visit AUGI.com.  AUGI is one of the best peer-to-peer sites out there for Autodesk products.

Sincerely,
  Lee

AutoCAD & AutoCAD LT All-in-One Desk Reference For Dummies Book is Released

The AutoCAD & AutoCAD LT All-in-One Desk Reference For Dummies book has just been released and can be picked up at your favorite local bookstore or on the Internet from a site like BarnesandNobles.com or Amazon.com.  Like other books in the Dummies series, this book gives you the information that you need in order to quickly get up speed on new features if you are an existing user, or if you are a new user to AutoCAD or AutoCAD LT you will find the step-by-step approach helpful in learning the program much quicker.  The book covers AutoCAD 2007 and AutoCAD LT 2007, and weighs in at over 800 pages.  The book is broken down into 10 sub books that cover specific topics which allow you to find the information that you are looking for in a short period of time.

Click on the following links to read excerpts from the book:
Read Excerpt 1 (PDF)
Read Excerpt 2 (PDF)
Read Excerpt 3 (PDF)

Below is a listing of the 10 sub books and the chapters that can be found in each one:

Book I: AutoCAD Basics.
  Chapter 1: Drawing on (and in) AutoCAD.
  Chapter 2: Navigating the AutoCAD Interface.
  Chapter 3: All about Files.
  Chapter 4: Basic Tools.
  Chapter 5: Setting Up Drawings.
  Chapter 6: Precision Tools.

Book II: 2D Drafting.
  Chapter 1: Drawing Objects.
  Chapter 2: Modifying Objects.
  Chapter 3: Managing Views.

Book III: Annotating Drawings.
  Chapter 1: Text: When Pictures Just Won’t Do.
  Chapter 2: Dimensioning.
  Chapter 3: Hatching Your Drawings.

Book IV: LT Differences.
  Chapter 1: The LT Difference.
  Chapter 2: Extending AutoCAD LT.
  Chapter 3: Mixed Environments.

Book V: 3D Modeling.
  Chapter 1: Introducing the Third Dimension.
  Chapter 2: Using the 3D Environment.
  Chapter 3: Viewing in 3D.
  Chapter 4: Moving from 2D to 3D.
  Chapter 5: Working with Solids.
  Chapter 6: Working with Surfaces.
  Chapter 7: Rendering: Lights, Cameras, AutoCAD!

Book VI: Advanced Drafting.
  Chapter 1: Playing with Blocks.
  Chapter 2: Dynamic Blocks.
  Chapter 3: External References.
  Chapter 4: Organizing Your Drawings.
  Chapter 5: AutoCAD Utilities.

Book VII: Publishing Drawings.
  Chapter 1: Page Setup.
  Chapter 2: Sheet Sets without Regret.
  Chapter 3: Print, Plot, Publish.

Book VIII: Collaboration.
  Chapter 1: CAD Management: The Necessary Evil.
  Chapter 2: CAD Standards.
  Chapter 3: Working with Drawing Files.
  Chapter 4: Sharing Electronic Files.

Book IX: Customizing AutoCAD.
  Chapter 1: The Basics of Customizing AutoCAD.
  Chapter 2: Customizing the Interface.
  Chapter 3: Customizing the Tools.
  Chapter 4: Delving Deeper into Customization.

Book X: Programming AutoCAD.
  Chapter 1: The AutoCAD Programming Interfaces.
  Chapter 2: Using Custom Programs.
  Chapter 3: Introducing AutoLISP.
  Chapter 4: Visual Basic for AutoCAD.

This book was an absolute joy to write for my first published work through a publisher, and I hope you enjoy it as much as I did writing it.  Now what are you waiting for, go grab a cup of Starbucks (or a favorite drink of your's) and get a copy of the AutoCAD & AutoCAD LT All-in-One Desk Reference For Dummies Book.  After you pick up a copy of the book, it would be great to hear from you.

Sincerely,
  Lee

October Issue of HotNews

Trick or Treat maybe not yet, but the October issue of AUGI HotNews brings a treat with another round of excellent articles.

Migration Madness!
Avoid the potholes on moving day! Here are tips for smoothing the move from one version to another.

Customization Corner: Creating Toolbars with the CUI
How to create toolbars through AutoCAD 2006 software's CUI Editor.

TIPniques: The Power of Page Setups
Guest columnist and AUGI Board Member Mike Perry tells how to make plotting from AutoCAD an easy and stress-free process.

The above listings are some of the highlights of the newsletter, but there are many other great articles in this issue.  To access all the articles of the issue head to the AUGI website and click the Publications section, then AUGI HotNews.

If you are not receiving AUGI HotNews or are not a member of AUGI go to the AUGI website and sign up. It is free to receive the newsletters and becoming a member is free as well.

Click here to access the AUGI website

Click here if you are already an AUGI member, but don't receive HotNews in your inbox

Sincerely,
  Lee

New Tool Palettes eBook

I have just finished a new eBook titled "Streamlining Design through: Tool Palettes for AutoCAD".  It is available for purchase at the eBook Center on the HyperPics website.  The book sells for $10 USD and in addition to the PDF copy of the eBook you will have access to a private forum for posting questions and comments directly related to the book.

So what is in the eBook you might be wondering?  Below is an overview of the contents of the book.

Table of Contents:
Introduction
What is a Tool Palette?
Working with the Tool Palettes Window Interface
Working with Individual Tool Palettes
Working with Tool Palette Groups (AutoCAD 2005 or later)
Working with Tools on a Tool Palette
Taking a Look at the Different Tools Individually
Sharing Tool Palettes Across a Network
Walk-Through: From Tool Palettes thru Tool Palette Groups
Miscellaneous Tidbits of Information about Tool Palettes

Page Count:
97 pages of content (104 total pages)

Sincerely,
  Lee

September Issue of AUGI HotNews

The September issue of AUGI HotNews brings a depth of many new articles and range of content.

Migration Madness: When to Move
When is the optimum time to migrate to new Autodesk software releases? This article investigates the reasons for migrating and provides tips on when to make the move.

Customization Corner: Looking Through CUI Panes
How to read the panes in AutoCAD 2006 software's CUI (Customize User Interface).

Tips & Tricks for Knock-out Blocks
Take the tedium out of block management with the Dynamic Blocks feature in AutoCAD 2006 software. Here are tips for using this super time-saver.

The above listing are some of the highlights of the newsletter, but there are many other great articles in this issue.  To access all the articles of the issue head to the AUGI website and click the Publications section, then AUGI HotNews.

If you are not receiving AUGI HotNews or are not a member of AUGI go to the AUGI website and sign up. It is free to receive the newsletters and becoming a member is free as well.

Click here to access the AUGI website

Click here if you are already an AUGI member, but don't receive HotNews in your inbox

Sincerely,
  Lee

New White Papers - CUI and Dynamic Blocks

Autodesk has just recently posted new White Papers on the CUI and Dynamic Block features found in AutoCAD 2006.

Customizing the User Interface Through the CUI Editor
The CUI White Paper covers how to create a command and then work with many of the different user interface elements that are available in AutoCAD.

Part 3: Advanced Features of Dynamic Blocks (written by Ellen Finkelstein)
The third part in the Dynamic Block series focuses on some of the more advanced topics like Cycling Insertion Points, Chaining Parameters and Visibility States.

To download these and other new White Papers visit the AutoCAD 2006 section of the Autodesk website.

Sincerely,
  Lee

Looking for some articles on AutoCAD Customization?

Are you looking for some articles on AutoCAD Customization?  If you are, you have come to the right place.  I have decided to build a listing of all the customization articles and contributions that I have been involved with over the last couple of years (or more).  Many of these articles were published in AUGIWorld or AUGI HotNews.  I have been involved with some other publications that range from the latest release of the AutoCAD 2006 Instructor book by James Leach and white papers on the new CUI feature found in AutoCAD 2006.  The articles that I wrote for AUGI date back to Jan 2004 till present.  Click here to access the list of contributions and publications that I have been involved with.  As time goes on I will continue to add to the list and add things that I might have missed, and categorize the page so it is easier to navigate.

Sincerely,
  Lee

July Issue of AUGI HotNews

Ready, Set, Go... 1/2 the year is gone and it has been exciting so.  AUGI has just released its latest issue of HotNews and it is once again jammed packed full of excellent content.  Get ready to sink your mouse into learning many new things.

Migration Maddness: Part 3
Third in a series of articles designed for those of you who wear the CAD manager's hat. This month, tips on how to prepare for migration.

Autodesk Vault Tips & Tricks
Valuable tips for managing Autodesk Inventor design data with Autodesk Vault.

TIPniques: Xrefs, Part 2
Part two of a series on Xref

Customization Corner: The Changing Landscape of AutoCAD Customization
A look at the new Customize User Interface (CUI) feature in AutoCAD 2006.

The above listing are some of the highlights of the newsletter, but there are many other great articles in this issue.  To access all the articles of the issue head to the AUGI website and click the Publications section, then AUGI HotNews.

If you are not receiving AUGI HotNews or are not a member of AUGI go to the AUGI website and sign up. It is free to receive the newsletters and becoming a member is free as well.

Click here to access the AUGI website

Click here if you are already an AUGI member, but don't receive HotNews in your inbox

Sincerely,
  Lee

Feeds


  • Between the Lines Blog

  • Will render for food... Digital Media Blog

  • HyperPics.com