Showing posts with label CUI. Show all posts
Showing posts with label CUI. Show all posts

Friday, February 27, 2009

Creating a Ribbon from a Toolbar

Recently when I right-clicked on a toolbar in the CUI, I noticed that I could create a Ribbon right there. I thought that would be a pretty cool way to customize - but there are a few pitfalls you might want to be aware of!

So, to start off I created a custom Toolbar with a bunch of commands I wanted to use all together.

(This is really an easy process. 1. Right-click on the Toolbars node in the CUI. 2. Choose New Toolbar 3. Right-click on the new toolbar to rename it 4. Find commands you want in the Command window at the bottom of the CUI, and drag them onto your new toolbar. 5. If you want separators, like I have, just right-click again on the toolbar and choose "Add separators" from the list)

Once my toolbar was created, I right-clicked on it and chose "Create Ribbon from Toolbar"


Here's my new ribbon - it doesn't look like much, does it? I tried clicking the "Apply" button but it didn't make my buttons show in the preview. If you want a preview of your new Ribbon, close the CUI and then open it again, and you'll see how all the buttons look on it when you select it from the list in the left hand panel.

So the next step would seem to be to assign this ribbon to show up in one of the tabs, right? Right! That's just a simple matter of finding your ribbon in the list of ribbons, and dragging it up onto whichever tab you want it to show up in.

Once you drag a ribbon in to one of the tabs, it will show up in that tab no matter which Workspace contains that particular tab.

You can right-click on any ribbon panel and uncheck any panel from the list, if you don't want it to show. That setting would be saved per Workspace.

In order to see your new ribbon, close the CUI, and make sure to select the correct tab.
What you'll notice right away is that the ribbon you created from the toolbar has all small buttons. I spent a lot of time trying to change the button sizes, and what I found is, you just can't. If you create a custom ribbon from a custom toolbar, even if you go into the properties of the buttons of that ribbon, and make them "Large", they just don't change. Not on my machine anyhow!! I tried over and over, NOTHING.










However, when you drag a command onto a new or existing ribbon, you then can determine it's size. It's one of the settings in the panel on the right side. So if you create your own custom ribbons from scratch, you can set the button size.
Have fun customizing! I'm enjoying playing with the ribbons in the 2009 interface, I hope you are too.

Wednesday, January 21, 2009

Disappearing Ribbons

I received a question from Filipa from Portugal about what to do when the Quick Access Toolbar disappears, and I've had it happen too. In fact, I've opened AutoCAD 2009 and not had any toolbars show up! It kind of throws you off balance when that happens, but usually it's an easy thing to fix.
The first thing to do is open the CUI, and the easiest way to do that is to type CUI (and then of course hitting the Enter key) on the command line. In the upper-left panel, you'll see the word ACAD. Click on that, and right-click. You'll see a choice in the menu to Reset ACAD.cui. Pick that, and everything should reset itself to the way it's supposed to be.

If there's something terribly wrong, you may need to do a repair of your software. This is also quite easy. From your Start menu, find the Control Panel, and once you're there, select "Add and Delete Software"
You're not going to Uninstall at this point, so don't worry!
Find your Autodesk application in the list, once it eventually finishes populating itself.
Select the "Change/Remove" button. (I know it feels like you're going to lose your program, but you won't accidently delete it, so stay with me here.) That button brings up the menu pictured here, the Installation Wizard. Choose the Repair or Reinstall button, and it will repair most program errors - just like that!

As long as we're on the subject, I wanted to mention something about the .cui file, and avoiding possible problems. There are two things I always do before I start modifying any toolbars or workspaces or anything else. First I make a copy of the acad.cui file (and the same would go for any other Autodesk product, only the name would change, depending on what you have. Like you didn't know that! I apologize for stating the painfully obvious) I know there's a backup file, but I just like to save one in a completely different location.

If you don't know where your acad.cui file is stored, go to Options and pick the Files tab. In the Customization folder, you can see the path to where your program is looking for the .cui file. This is also where you would change it if needed - if the file you've been using becomes corrupt there is a file named acad.bak.cui in the same folder as the acad.cui file. You can browse and point to that file if your acad.cui gets corrupted somehow. Or you could do a "Repair" as outlined above.

The second thing I always do is save a copy of my Profile. (This doesn't exist in AutoCAD LT, so if that's your software, just skip this part.) This is done in Options, on the Profile tab. I usually make a copy of my profile right out of the box, and another after I've got things changed just the way I like them. That way, if I lose something or on the practically unheard of chance that I might mess something up, I can set my backup profile as the current one.
Both of these precautions have a drawback - you lose all the customization you did after you saved the backup copy. However, if it's a matter of your program not working at all versus not having a few favorite tools, I'd rather be set back to my original install than not be able to work at all.

And of course, there's nothing preventing you from making new backup copies of your .cui file and your Profile once you have them fixed up the way you like. Better safe than sorry, like my Grandmother would say.

Thursday, October 25, 2007

Hidden Files


Hello everyone, this short note was inspired by my annoyance at drilling through my computer's files looking for just that one folder.
As you know, AutoCAD for some time has put their template and other files in a deep dark convoluted path of file folders. They had to do this, I've been told, for AutoCAD to play well with Windows. For those of you who don't have an IT or CAD Manager rearranging things, I'm sharing my list of the Hidden Files that I frequently access. I just got sick of trying to remember which ones are in Local Settings, and which one is in All Users, so I copied them all onto a document, and I'm sharing it with everyone else who doesn't have the time to memorize long file paths.

Obviously, you would substitute your User name for mine, unless you too are named luann. Once you get to the Autodesk folder, whatever version of Autodesk products you have installed has its own folder, so you would substitute that name where I have "AutoCAD2008".

Templates
C:\Documents and Settings\luann\Local Settings\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Template

Tool Palettes
C:\Documents and Settings\luann\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Support\ToolPalette

CTB & STB Files
C:\Documents and Settings\luann\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Plot Styles

Plotter PC3 files
C:\Documents and Settings\luann\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Plotters

CUI Files
C:\Documents and Settings\luann\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Support

Custom icons
C:\Documents and Settings\luann\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Support\Icons

Textures & bitmap bump files
C:\Documents and Settings\All Users\Application Data\Autodesk\AutoCAD 2008\R17.1\enu\Textures


Just a final note: These file locations are straight out of the box. I know you can set AutoCAD to look elsewhere, but since I do a lot of training, I need to leave things that way so I can show new users where things will be on their computers.

I hope at least one person out there finds this useful. If so, my work here is done.