January 22nd, 2008

abReplaceCommandIcons 1.1

The default melScript shelf button icons in 2008 are so visually busy that it's difficult to read the text overlays.  They're annoying enough that I wrote this script to change them.

How to Use

Once you've put the icon and script in the appropriate directories, start Maya or run "rehash" in the command line.

Run the command:

abReplaceCommandIcons(1);

to apply the new image to all of your default script shelfButtons.

If you want to revert back to the default icons you can run:

abReplaceCommandIcons(0);


Updates

03.14.08:    The script now checks to make sure the shelfButton exists before attempting to change its icon.

comments

Geoff
March 13th, 2008 said:

It worked on a couple of the default shelf icons, but not others... I get this error:

// Error: Object not found: toolButton1

Any thoughts?

March 14th, 2008 said:

Hey Geoff,

I updated the script so that it now checks that a shelfButton exists before assigning a new icon.  It should work for you now.  Let me know if not.


go on, say it






  

about this post

"abReplaceCommandIcons 1.1" was posted on January 22nd, 2008 under Mel Scripts.  It was created using Maya.

This entry was last updated on March 14th, 2008.

next entry

previous entry