View Full Version : looking for specific inbuilt basic icons from maya


DEVILSAN
11 November 2012, 06:39 PM
Hi
I am building an app(tool) for maya 2011 onwards that utilizes some basic icons like new, file open , file save, folder open ,

is their way I can borrow from maya icons already there so I do not have to provide them with my python script or I would have to include the image icons separately other than the python script(that creates maya GUI tool)

ldunham1
11 November 2012, 10:07 PM
yeah course. In the image path, just set it to correspond with the image name maya uses (look in the shelf editor options, you can see icon paths there.)

NaughtyNathan
11 November 2012, 10:36 PM
you don't need paths for internal icons, just use the base name. for example "polycube.xpm"
window;
columnLayout;
symbolButton -i "polyCube.xpm";
symbolButton -i "moveNormal.xpm";
symbolButton -i "posTurbulence.xpm";
showWindow;
if you use ".xpm" rather than .png or .bmp it should work on any version of Maya (assuming that version contains the given icon!) and on 2011+ using .xpm still results in the transparent png version.

DEVILSAN
11 November 2012, 07:21 AM
@Nathan: I tried using this in the menuItem but it doesnt shows up

here: http://forums.cgsociety.org/showthread.php?p=7458201#post7458201

ldunham1
11 November 2012, 08:40 AM
you don't need paths for internal icons, just use the base name. for example "polycube.xpm"
ah my "loose"/incorrect use of the word "path" there...

DEVILSAN
11 November 2012, 09:04 AM
ah my "loose"/incorrect use of the word "path" there...

do you know how to put image as icon in menuItem ?

CGTalk Moderation
11 November 2012, 09:04 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.


1