Go to: Synopsis. Return value. MEL examples.
setState( string $type, int $state )
None
Variable Name | Variable Type | Description |
---|---|---|
$type | string | : type of node to operate on. valid choices are: iksolver, constraint, expression, particle, rigidbody, snapshot or "all", which will do all of the above. |
$state | int | : state to set for the node. "off" will turn the node off ("blocking" mode), and "on" will turn the node on ("normal" mode). |
setState "expression" on;