this is my script
JobUtils.SetCurrentJobValue(0,“FramesList”,frameRange)
I want to change the framesList attr
but this function just change the jobs attr displayed in the monitor, it can not auto update the job file in the Repository directory??
this is my script
JobUtils.SetCurrentJobValue(0,“FramesList”,frameRange)
I want to change the framesList attr
but this function just change the jobs attr displayed in the monitor, it can not auto update the job file in the Repository directory??
There currently isn’t a function exposed to the script API to change the frame range properly. However, a workaround would be to have the script call “deadlinecommand.exe -SetJobFrameRange” to do this. Here is the usage instructions for SetJobFrameRange:
For example:
deadlinecommand.exe -SetJobFrameRange "1-100" 10
Hope this works for now!
Cheers,
Thanks it works
But it is a liiiiiiittle bit difficult…
I tried the Popen in the regular python module first ,I want to get the output with the ‘stout = PIPE’ argument, but PIPE do not work in iron python
finally I use the System. process. it works now
Thanks you Ryan!