Hi, I'm calculating the bounding box of VRay proxies as part of a thumbnail creation process. This works fine in Maya as long as the geo is displayed, using:
cmds.polyEvaluate(meshNode, boundingBox=True)
But when the process runs in Maya batch, the bounding box returns as empty. I guess this is because in Maya batch it dosn't generate the Maya geo or something?
Does anyone know a better way of getting the bounding box, maybe directly from the proxy or something?
Thanks
cmds.polyEvaluate(meshNode, boundingBox=True)
But when the process runs in Maya batch, the bounding box returns as empty. I guess this is because in Maya batch it dosn't generate the Maya geo or something?
Does anyone know a better way of getting the bounding box, maybe directly from the proxy or something?
Thanks
Comment