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

概要

unassignInputDevice([clutch=string], [device=string])

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

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

このコマンドは、指定したデバイスに関連付けられたすべてのコマンド文字列を削除します。

戻り値

なし

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

関連

assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, listInputDevices, recordAttr, setAttrMapping, setInputDeviceMapping

フラグ

clutch, device
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
clutch(c) string create
このクラッチを持つコマンド アタッチメントだけを削除します。
device(d) string create
作業するデバイスを指定します。

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

Python 例

import maya.cmds as cmds

# This deletes all command strings associated with the spaceball.
cmds.unassignInputDevice( d='spaceball' )