ジャンプ先: 概要. 戻り値.
関連項目. フラグ. MEL 例.
enableDevice [-apply] [-device
string] [-enable boolean]
[-monitor] [-record]
enableDevice は 「元に戻す」が可能、「照会」が可能、「編集」が不可能 です。
デバイスに関係するアクションに対して、デバイスの有効/無効の状態を設定(または照会)します。
- -monitor
- 指定したデバイスのすべての assignInputDevice と attachDeviceAttr
動作に作用します。
- -record
- デバイスが recordDevice アクションによって記録される(デフォルト)かどうかを指定します。
- -apply channelName [channelName ... ]
- デバイス チャンネルからのデータが、指定したチャンネルにアタッチされたパラメータ
カーブに適用されるかどうかを制御します。
applyTake のチャンネルを無効にして、すべての「子」チャンネルの有効な状態を applyTake
で無視する、つまり無効にします。
なし
戻り値の型は照会モードでは照会フラグが基になります。
applyTake, defineDataServer, defineVirtualDevice, filter, movIn, movOut, readTake,
recordDevice, writeTake
apply, device,
enable, monitor, record
: コマンドの作成モードで使用可能なフラグ |
: コマンドの編集モードで使用可能なフラグ |
: コマンドの照会モードで使用可能なフラグ |
: 1 つのコマンドで複数回使用可能なフラグ |
// Enables all assignInputDevice and attachDeviceAttr actions for the
// device named "clock"
enableDevice -enable true -d clock;
// Stops applyTake (with no arguments) from updating param curves
// attached to the minutes and hours channels of device named "clock"
enableDevice -enable false -d clock -apply minutes hours;