移動先: 概要 戻り値 関連項目. フラグ. Python 例.

概要

polySelectConstraintMonitor( string , [changeCommand=[string, string]], [create=boolean], [delete=boolean])

注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。

polySelectConstraintMonitor は 「元に戻す」が可能、「照会」が不可能「編集」が不可能 です。

ウィンドウを管理し、ポリゴンのセレクション コンストレインのパラメータを表示、編集します。

戻り値

なし

関連項目

polyInstallAction, polyListComponentConversion, polySelectConstraint

フラグ

changeCommand, create, delete
ロング ネーム(ショート ネーム) 引数型 プロパティ
changeCommand(cc) [string, string] create
ウィンドウをリフレッシュする MEL コールバックを指定します。最初の引数がコールバック、2 番目がウィンドウ名です。
create(c) boolean create
モニターの作成を指定します。
delete(d) boolean create
モニターの削除を指定します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : タプルまたはリストとして渡された複数の引数を持てるフラグ

Python 例

import maya.cmds as cmds

# create Monitor
cmds.polySelectConstraintMonitor( create=True )

# set up a callback for when the constraints are changed
cmds.polySelectConstraintMonitor( changeCommand=('polygonConstraintUpdate', 'MyPanel'));

# delete Monitor
cmds.polySelectConstraintMonitor( delete=True )