0
我該怎麼做?我瀏覽了Maya的文檔,所有我可以看到相關的是命令refreshAE
和updateAE
,但他們沒有做我需要的工作。Maya MEL命令將焦點設置到屬性編輯器中的特定選項卡
我該怎麼做?我瀏覽了Maya的文檔,所有我可以看到相關的是命令refreshAE
和updateAE
,但他們沒有做我需要的工作。Maya MEL命令將焦點設置到屬性編輯器中的特定選項卡
這是一種做法。這proc已經在Maya 2009中測試,2013年
// switch the tab by name string, note tab must be present
global proc switchAEtoTab(string $name){
global string $gAETabLayoutName;
string $tabs[] = `tabLayout -q -tabLabelIndex $gAETabLayoutName`;
for ($i=0;$i<size($tabs);$i++){
if ($tabs[$i]==$name)
tabLayout -e -selectTabIndex ($i+1) $gAETabLayoutName;
}
}
編輯:更新腳本包含標籤佈局的全局名稱