Go to: Synopsis. Return value. Related. MEL examples.
randstate
<string>
randstate is undoable, queryable, and editable.
The command returns the "state" of the random stream named by the string argument. This state information comprises a set of numbers which can be used by an external process (for example, a user-written plug-in) to emulate the random number sequence which is generated by MEL's random number functions.randstate "stream1"; // Result: 13733 45971 2693 //