Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

evalNoSelectNotify string | [string any...]

evalNoSelectNotify is NOT undoable, NOT queryable, and NOT editable.

This command is the same as the eval command except that it blocks the selection notifications and then executes the command string. This is useful for commands which create many nodes and change selection upon each node creation. Having a command with many selection change notifs could greatly slow down the command as there may be a lot of work done for each of these selection changes. And all these selection changes are usually pointless since at the end a final selection is done. This command will block all those intermediate selection change notifs.

Return value

AnyThe return value of the statement or command/procedure call.

Related

eval, evalDeferred, evalEcho, scriptJob

MEL examples

// The "evalNoSelectNotify" command can be executed as a single string.
polySphere -ch on -o on -r 5.0 ;
evalNoSelectNotify "createHair 8 8 10 1 0 0 0 5 0 2 1 1";