ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
containerBind([allNames=boolean], [bindingSet=string], [bindingSetConditions=boolean], [bindingSetList=boolean], [force=boolean], [preview=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
containerBind は、取り消し可能、照会可能、および編集可能です。
コンテナに対して自動バインド操作を行うコンテナ コマンドに付属するアクセサリ コマンドです。コンテナのパブリッシュ済みインタフェースは、接続されているコンテナ テンプレートに bindingSet を使用することでバインドできます。
なし
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
bind, container
container, containerProxy, containerPublish, containerTemplate
allNames, bindingSet, bindingSetConditions, bindingSetList, force, preview
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# query the template binding sets available for this container
#
cmds.containerBind(container1, query=1, bindingSetList=1)
# attempt to bind published names on the container
# using matching information in the bindingSet specified.
# By default only unbound names are considered.
#
cmds.containerBind(container1, bindingSet="MayaBindings")
# Attempt to bind all published names on the container
# using matching information in the bindingSet specified.
# Previously bound names will only be re-bound if the bindingSet
# produces an appropriate match.
#
cmds.containerBind(container1, bindingSet="MayaBindings", allNames=1)
# Forcibly re-bind all published names on the container
# using matching information in the bindingSet specified.
# All previously bound names will be unbound and will only
# be re-bound if the binding set produces an appropriate match.
#
cmds.containerBind(container1, bindingSet="MayaBindings", allNames=1, force=1)
# preview what the results of a binding operation would be, but do
# not actually perform it.
cmds.containerBind(container1, bindingSet="MayaBindings", preview=1, allNames=1, force=1)