ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
effector(
[object]
, [hide=boolean], [name=string])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
effector は、取り消し可能、照会可能、および編集可能です。
エフェクタ コマンドは、エフェクタの名前や非表示フラグを設定するために使用します。編集と照会機能には、標準の編集(-e)と照会(-q)フラグが使用されます。| string | コマンドの結果 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
hide(hi)
|
boolean
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
import maya.cmds as cmds # Will cause effector1 not to be displayed if attached to a handle. # This is the default. # cmds.effector( 'effector1', e=True, hi=False ) # Will cause effector1 to be displayed if attached to a handle. # cmds.effector( 'effector1', e=True, hi=True )