您的位置:首頁 > 動漫 >

全球短訊!Mel_隔行選線

if(`window -ex Hao`)

{

deleteUI Hao;


(資料圖片)

}

window -title "隔行選線" Hao;

string $form = `formLayout -numberOfDivisions 100`;

string $intFieldGrp0 =`intFieldGrp -numberOfFields 1 -label "步長值"-value1 1 frame`;

string $button0 = `button - label"循環(huán)邊選中" -command "XH"`;

string $button1 = `button - label"選中" -command "XH1"`;

string $button2 = `button - label"選中循環(huán)邊刪除" -command "XH2"`;

formLayout -edit

-attachForm $intFieldGrp0 "top" 20

-attachForm $intFieldGrp0 "left" -70

-ac $button0 "top" 10 $intFieldGrp0

-ac $button0 "left" -150 $intFieldGrp0

-ac $button1 "top" 10 $intFieldGrp0

-ac $button1 "left" 10 $button0

-ac $button2 "top" 10 $button1

-ac $button2 "left" -110 $button1

$form;

showWindow Hao;

global proc XH()

{

int $frame0 =`intFieldGrp -q -v1 frame`;

$frame0 = $frame0 + 1;

polySelectEdgesEveryN "edgeRing" $frame0;

polySelectEdgesEveryN "edgeLoop" 1;

}

global proc XH1()

{

int $frame0 =`intFieldGrp -q -v1 frame`;

$frame0 = $frame0 + 1;

polySelectEdgesEveryN "edgeRing" $frame0;

}

global proc XH2()

{

int $frame0 =`intFieldGrp -q -v1 frame`;

$frame0 = $frame0 + 1;

polySelectEdgesEveryN "edgeRing" $frame0;

polySelectEdgesEveryN "edgeLoop" 1;

polyDelEdge -cv true -ch 1;

}

標(biāo)簽: LEFT STRING

相關(guān)閱讀