All Questions
7 questions
0
votes
1
answer
116
views
Maya Python .batchRender says "file is invalid"
This is my code to kick of the render of a scene.
cmds.batchRender()
cmds.batchRender( r'C:\Users\marvin\Desktop\Proxy\Game\Vegetation\Tree\Tree.mb' )
when I run it all I get is:
# Error: Object C:\...
1
vote
0
answers
298
views
Adding an alpha channel to a texture file using Arnold 5's Render Selection to Texture in Maya
I'm new to Maya so hopefully I can communicate this clearly. I'm using the Arnold 5 utility renderSelectionToTexture to bake a sequence of texture files for a character's face. I need to add an alpha ...
0
votes
1
answer
382
views
Can't initialize turtle in Maya through scripting
I have a maya python tool that is supposed to load turtle, set it as the renderer, and then bake vertex AO on the selected object. The whole thing works except that when the user first opens Maya, it ...
1
vote
2
answers
348
views
Maya Python, Connect to 2 lists
So guys, this is question about Maya, python.
Can I create a loop and set shader A color to R shader B color to G and shaderC to B
for i in range(5):
shader = cmds.shadingNode ('surfaceShader', ...
0
votes
1
answer
2k
views
Import single OBJ files into Maya, moving and rotating it with Python/MEL
Hi I have this code to import OBJ files into maya with Python
**
import maya.cmds as cmds
pathOfFiles = "/Path/to/the/files/folder/"
fileType = "obj"
files = cmds.getFileList(folder=...
2
votes
3
answers
398
views
How to monitor a maya program running in my computer?
I wrote some codes in Maya using Maya Python to render over 2,000 pictures. Since there are a lot of work for Maya to finish, during the long process of rendering, Maya may get crashed. So I have to ...
1
vote
1
answer
455
views
Maya - Querying previous render information
Does anyone know whether its possible to query the render time of the last render in maya via python or mel?
Render time is stored in the render viewer window in the form of a string at the bottom ...