Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

freezeOptions [-displayLayers boolean] [-downstream string] [-explicitPropagation boolean] [-invisible boolean] [-referencedNodes boolean] [-runtimePropagation boolean] [-upstream string]

freezeOptions is NOT undoable, queryable, and NOT editable.

This command provides access to the options used by the evaluation manager to handle propagation and recognition of when a node is in a frozen state. See the individual flags for the different options available. These values are all stored as user preferences and persist across sessions.

Return value

stringCurrent value of the option if querying the downstream or upstream flags
booleanCurrent value of the option if querying the displayLayers, invisible, referencedNodes, explicitPropagation, or runtimePropagaton flags
booleanIn creation mode returns true if all options were successfully set

In query mode, return type is based on queried flag.

Keywords

evaluation, manager, DG, runtime, freeze

Flags

displayLayers, downstream, explicitPropagation, invisible, referencedNodes, runtimePropagation, upstream
Long name (short name) Argument types Properties
-displayLayers(-dl) boolean createquery
If this option is enabled then any nodes that are in an enabled, invisible display layer will be considered to be frozen, and the frozen state will propagate accordingly.
-downstream(-dn) string createquery
Controls how frozen state is propagated downstream from currently frozen nodes. Valid values are "none" for no propagation, "safe" for propagation downstream only when all upstream nodes are frozen, and "force" for propagation downstream when any upstream node is frozen.
-explicitPropagation(-ep) boolean createquery
When turned on this will perform an extra pass when the evaluation graph is constructed to perform intelligent propagation of the frozen state to related nodes as specified by the currently enabled options of the evaluation graph. See also "runtimePropagation". This option performs more thorough propagation of the frozen state, but requires extra time for recalculating the evaluation graph.
-invisible(-inv) boolean createquery
If this option is enabled then any nodes that are invisible, either directly or via an invisible parent node, will be considered to be frozen, and the frozen state will propagate accordingly.
-referencedNodes(-rn) boolean createquery
If this option is enabled then any nodes that are referenced in from a frozen referenced node will also be considered to be frozen, and the frozen state will propagate accordingly.
-runtimePropagation(-rt) boolean createquery
When turned on this will allow the frozen state to propagate during execution of the evaluation graph. See also "explicitPropagation". This option allows frozen nodes to be scheduled for evaluation, but once it discovers a node that is frozen it will prune the evaluation based on the current set of enabled options. It only works in the downstream direction.
-upstream(-up) string createquery
Controls how frozen state is propagated upstream from currently frozen nodes. Valid values are "none" for no propagation, "safe" for propagation upstream only when all downstream nodes are frozen, and "force" for propagation upstream when any downstream node is frozen.

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.

MEL examples


// Print the current display layer freeze option
int $dlOption = `freezeOptions -q -displayLayers`;
print "Display layer freeze option is " + $dlOption + "\n";

// Toggle the display layer freeze option on
cmds.freezeOptions( displayLayers=True )
// Return: 1 //

# Set downstream propagation to safe mode
cmds.freezeOptions( downstream='safe' )
// Return: 1 //