MetaFusion/Reference/SuperRiggingEditor/scripts/SGHelp.mel
2025-02-03 22:58:41 +08:00

36 lines
840 B
Plaintext

//******************************************************************************
//
// 版权所有: 玉溪时光科技有限公司
// 联系邮箱: q.100@qq.com
// 开发日期: 2023/08/08
//
//******************************************************************************
global proc SGHelp (string $help){
if (`window -q -ex helpImageWin`)
deleteUI helpImageWin;
window -t "Super Rigging Help" helpImageWin;
string $path = `getenv "SG_PATH"`;
string $image=$path+"images/help/"+$help+".jpg";
formLayout -w 610 -h 800 helpFormLayout;
scrollLayout asHelpImage;
formLayout asHelpFormLayoutB;
image -i $image ;
setParent..;
setParent..;
window -e -wh 626 800 helpImageWin;
formLayout -e
-af asHelpImage "right" 0
-af asHelpImage "left" 0
-af asHelpImage "top" 0
-af asHelpImage "bottom" 0
helpFormLayout;
showWindow helpImageWin;
}