ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
mute([disable=boolean], [force=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
mute は、取り消し可能、照会可能、および編集不可能です。
mute コマンドを使用して、チャネルでの再生を無効/有効にします。チャネルをミュートしても、ミュート前の値は保持されます。| string[] | ミュート ノードの名前。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
disable(d)
|
boolean
|
|
||
|
||||
force(f)
|
boolean
|
|
||
|
||||
import maya.cmds as cmds
# Mute playback of the ry channel of ty on the sphere
#
sph = cmds.polySphere()
cmds.setKeyframe( '%s.translate' % sph[0] )
cmds.mute( '%s.translateY' % sph[0] )
# Query whether ty is muted
cmds.mute('%s.translateY' % sph[0], q=True )
# Disable muting on any muted attributes on the sphere
#
cmds.mute( sph[0], disable=True )