Hi Guys,
I'm hoping this is a simple one!
I'm trying to retrieve all scene files used during the rendering process. I first call a cmds.file to read in all the referenced files in Maya. I also have a post-translate script that I used 'findByType' to get VRayScenes, GeomMeshFile's and BitmapBuffer's - this seems to give me all the vrscene's, proxies, and their associated maps. This is fine.
The problem I have is that I don't seem to get any textures that are referenced inside of the referenced .vrscene files. So if we have House.vrscene referenced in, my script will output the path of that file, but it won't output "brick.jpg"'s filepath which is referenced inside House.vrscene.
Does anyone know how I can retrieve these references? I hope it's something as simple as just needing another findByType inside the post-translate python script.
Thanks,
Dan
I'm hoping this is a simple one!
I'm trying to retrieve all scene files used during the rendering process. I first call a cmds.file to read in all the referenced files in Maya. I also have a post-translate script that I used 'findByType' to get VRayScenes, GeomMeshFile's and BitmapBuffer's - this seems to give me all the vrscene's, proxies, and their associated maps. This is fine.
The problem I have is that I don't seem to get any textures that are referenced inside of the referenced .vrscene files. So if we have House.vrscene referenced in, my script will output the path of that file, but it won't output "brick.jpg"'s filepath which is referenced inside House.vrscene.
Does anyone know how I can retrieve these references? I hope it's something as simple as just needing another findByType inside the post-translate python script.
Thanks,
Dan