Tagged: .mns

We’re Migrating! (Part I: Exporting)

AutoCAD 2013 will be sweeping the office and magically finding its way onto our hard-drives (or in my case, solid-state drive #upgrade!) in a few days. Training will be held for a few hours and by the end of it all, I’m sure that I will be the only one still excited or willing to use 2013 with any new features. I’m waiting for the “How do you turn this ribbon thing off?!” calls resounding through the office.

I thought this would be a good chance for me to describe some migration techniques that can help anyone through this IT ordeal. I will soon be doing this myself as to not lose the interface I’ve worked so hard on. I already described for you how to create buttons, macros and profiles; so this will build on those concepts. (If you need more detailed descriptions for these items, please see past entries of the AngryCAD blog.)

You’re going to want to save three items. Your profile, (if you using AutoCAD full, not LT… Sorry LT people. ) Your .CUI file (which includes all of your custom toolbars, palates and menus) and your .PGP file (this is where all of your custom aliases are stored).

We’ll start by exporting your custom toolbars and palates in the .CUI file.

  1. Start by tying “CUI” into the command line.
  2. Next, Click on the “Transfer” tab at the top of the window. Now what you should see are (2) frames. The left side represents your current AutoCAD configuration concerning Toolbars, Menus, LISP Routines and anything else you have customized that is shown here. (Be aware that custom aliases are not in this location. We’ll cover how to save those in a minute.) The right side represents a blank file in which you are to fill up with your customization items that you wish to save. It should look something like this:
  3. I’ll illustrate how to export your custom toolbars, and you should be able to translate that knowledge into exporting other items.
  4. Expand “Toolbars” in the left hand pane by clicking the + sign.
  5. Find the toolbars that you intend to export. Then, click and drag them to the “Toolbars” heading on the right hand pane. You should now see it where you dropped it.
  6. Once you have moved all of your custom items, click the save icon in the right hand corner of the right hand pane and save it to your safe space. (Make sure IT isn’t clearing your HD or giving you a new machine, because saving it on your HD won’t work if this is the case. Find a flash drive or use a personal network folder, if you have one and save your .CUI file there.)
  7. Now that your .CUI is safe, we’ll focus on some other aspects of migrating.

Lets move on to your profile, which is much easier.

  1. Type “OPTIONS” into the command line.
  2. Click on the tab named “Profiles”.
  3. Next, click the export button on the right hand side and save it to your safe space.
  4. Click “OK” then close the options window.
  5. That’s it for now. We’ll import it when you get the shiny new version.

Lastly is your .pgp file. 

If you have any custom aliases defined, this is where they are stored. (I’ll write a future blurb on this to explain more in depth, but for now you’ll most likely know if you have modifications here that you will need to save.) Aliases are shortened keyboard entries that execute commands. For example; by typing “CO” into the command line, it will execute the Copy command. Now, a lot of users don’t like “CO” as the alias for this command because it’s not executable with one hand. I see a lot of users change it to “CC” instead. As I said, I’ll touch more on the .pgp file later on. Let’s make sure we save it today.

  1. Click “Tools”, “Customize” then “Edit Program Parameters (acad.pgp)” The window that comes up should look like this:
  2. Simply click “File” and “Save As…” and save it to your safe space with your .cui and .agp files.
  3. Close everything, there is no need to save if it asks. (unless you modified anything.)

Now everything should be saved! Unless you are using .lsp files or scripts, everything should be saved. If you are using LISP’s or scripts, simply copy them from the AutoCAD support directory to your safe space. Simple as that.

Contact me with any questions about anything you see here!


Anger clouds the mind. – Master Splinter

…. and your AutoCAD drawings.

Enjoy the day.