ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.

概要

effector( [object] , [hide=boolean], [name=string])

注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。

effector は、取り消し可能、照会可能、および編集可能です。

エフェクタ コマンドは、エフェクタの名前や非表示フラグを設定するために使用します。編集と照会機能には、標準の編集(-e)と照会(-q)フラグが使用されます。

戻り値

stringコマンドの結果

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

関連

ikHandle, ikSolver, ikSystem

フラグ

hide, name
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
hide(hi) boolean createqueryedit
ハンドルにアタッチされた場合に、エフェクタの描画を非表示にするかどうかを指定します。
name(n) string createqueryedit
エフェクタの名前を指定します。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。

Python 例

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 )