3dsmax Pre-Frame Script

Hi Guys,

I am new to deadline, I am trying to a pre-frame script to work. At the moment I am using the maxscript currentTime global to get the frame being rendered. This is returning 0 on each frame being rendered. Is there a way in maxscript to get the currentFrame being rendered?

Cheers,
Dave

Hi Dave,

There is a DeadlineUtil API that you can call from your maxscript to get the frame. This API is documented here:
thinkboxsoftware.com/3ds-max/#Scripts_Tab

So calling DeadlineUtil.CurrentFrame should give you what you’re looking for.

Cheers,

  • Ryan