Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm working with a script in Maya, and I've encountered an issue when dealing with scenes containing GPU caches. These GPU caches can take some time to load, and when I try to playblast the scene, the GPU cache geometries don't appear in the playblast until they're fully loaded. Is there a way to set up a callback or a mechanism to detect when all GPU cache geometries are fully loaded (not just their bounding boxes) so that I can initiate the playblast only after they're loaded? Any guidance on how to achieve this in Maya would be greatly appreciated
import maya.standalone
maya.standalone.initialize()
import maya.cmds as cmds
myscene = "myfolder/file.ma"
file_output = "myfolder/out.avi"
cmds.file(myscene , open=True)
cmds.playblast(filename=file_output)
Solved! Go to Solution.