Threads Access via MAXScript Functions

The following functions can be used to access threads information via MAXScript:

threads showLocals:<boolean> firstFrameOnly:<boolean> numFrames:<int> to:<stream>

The function outputs the threads information to the Listener or, if the to: option is provided, to the given stream.

If showLocals: is passed as false, local variables will not be shown. Defaults to true.

If firstFrameOnly: is passed as true, only the first frame will be shown. Defaults to false.

If numFrames: is passed, the specified number of levels of the MAXScript call stack will be captured. If -1, the full call stack will be captured. Defaults to -1. Available in 3ds Max 2020.1 and higher.

GetCurrentThreadId()

Returns the current thread's ID.

locals()

Not implemented.

go()

Not implemented.