Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a script that creates a thumbnail for our scene. It uses playblast to create the screenshot, and it used to work in 2022 but having issues in 2024.
cmds.playblast(format="iff", filename=os.path.splitext(thumbPath)[0], st=1, et=1, clearCache=1, viewer=0, fo=True,
showOrnaments=False, fp=2, percent=100, compression=fileFormat, quality=100, widthHeight=[resolution, resolution])
the command works if i run it in the script editor in an open scene but if its run through our script (which we do move the camera to get the model in the picture) it will come up with this error
# Error: Unable to allocate offscreen buffer for playblast.
Solved! Go to Solution.