This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
特定のノードが存在するシーンを検索 | |
*/ | |
proc SearchDir( string $_path ){ | |
string $Dirpass = $_path ; | |
string $list[] = `getFileList -fld $Dirpass` ; | |
for( $s in $list ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
特定のノードが存在するシーンを検索して、見つかったらスクリプトエディタに出力 | |
*/ | |
proc SearchDir( string $_path ){ | |
string $Dirpass = $_path ; | |
string $list[] = `getFileList -fld $Dirpass` ; | |
for( $s in $list ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
プレイバックスピードを変更します。ただそれだけの物語。 | |
*/ | |
proc ChangePlaybackSpeed(){ | |
string $window = "ChangePlaybackSpeed"; | |
if( window( "-ex" , $window ) ){ | |
deleteUI $window; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 選択したボーンのセグメントスケールを一括でオンオフ | |
proc SetJointSegmentScale( int $flag ){ | |
$sels = `ls -sl -tr`; | |
for( $i=0; $i<`size($sels)`; $i++ ){ | |
//print( $sels[$i] ); | |
setAttr ($sels[$i]+".segmentScaleCompensate") $flag; | |
} | |
} |
OlderNewer