Go to: Synopsis. Return value. Related. Flags. MEL examples.
enableDevice [-apply] [-device string] [-enable boolean] [-monitor] [-record]
enableDevice is undoable, queryable, and NOT editable.
Sets (or queries) the device enable state for actions involving the device.
Disabling a channel for applyTake cause applyTake to ignore the enable state of all "child" channels -- treating them as disabled.
None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-apply(-a)
|
|
![]() ![]() |
||
|
||||
-device(-d)
|
string
|
![]() ![]() |
||
|
||||
-enable(-en)
|
boolean
|
![]() ![]() |
||
|
||||
-monitor(-m)
|
|
![]() ![]() |
||
|
||||
-record(-rec)
|
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// 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;