Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
mayaHasRenderSetup [-enableCurrentSession boolean] [-enableDuringTests boolean]
mayaHasRenderSetup is NOT undoable, queryable, and editable.
This command controls and queries render setup states.None
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-enableCurrentSession(-ecs)
|
boolean
|
|||
|
||||
-enableDuringTests(-edt)
|
boolean
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
//Returns whether render setup mode is enabled or disabled mayaHasRenderSetup //Query the state renderSetupEnableCurrentSession mayaHasRenderSetup -query -enableCurrentSession //Query the state renderSetupEnableDuringTests mayaHasRenderSetup -query -enableDuringTests //Enable renderSetupEnableCurrentSession mayaHasRenderSetup -edit -enableCurrentSession true //Disable renderSetupEnableCurrentSession mayaHasRenderSetup -edit -enableCurrentSession false //Enable renderSetupEnableDuringTests mayaHasRenderSetup -edit -enableDuringTests true //Disable renderSetupEnableDuringTests mayaHasRenderSetup -edit -enableDuringTests false