我试图找出 MEL 代码的位置,特别是它的图标图像是从哪里获得的......
我在 Maya 中尝试了一个小测试,当我更改图像的格式时,它是否是 .xpm 到 .png 等的形式。我无法确定它是否来自......我'我在 2 台服务器上运行,因此,我不知道它是来自服务器 A 还是服务器 B...
是否有任何代码等可以让我确定它?还是有其他方法?我也在用linux
string $window = `window -title "shelfButton Example"`;
string $tabs = `tabLayout`;
string $shelf = `shelfLayout`;
shelfButton
-enableCommandRepeat 1
-enable 1
-width 32
-height 32
-mw 0
-mh 0
-manage 1
-visible 1
-label "Render to Git"
-image1 "rexSpotLight.xpm"
-style "iconOnly";
tabLayout -edit -tabLabel $shelf "Example Shelf" $tabs;
showWindow $window;