Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. import os
  2.  
  3. # destination for screenshots
  4. file_path = '/media/LITTLE_ONE/vsfx408/houdini/renders/parameter_test'
  5. # root naming convention
  6. screenshot_name = 'test'
  7.  
  8. start = 1
  9. end = 240
  10.  
  11. while start < end:
  12.     hou.setFrame(start)
  13.     os.system( 'import -window root %s/%s.%03d.png' % (file_path, screenshot_name, start) )
  14.     start += 1