Hey Justin: Thanks a lot for taking the time to write that code. It needed an extra set of (double) quotes to be accepted as a command: cmd = '''""...""''' HOWEVER, it turned out that the problem was not the syntax of submitting the command, but the formatting of the tasklist. It is a 3 column tab-delimited text file (example in post #3), but I was using spaces instead of tabs. So problem 1 is solved, now back to the long pre-render command. If I can get that working, we'll have some very useful BB code. Unfortunately, the main scene from my project isn't rendering very well on the network node. It loads and renders a frame, but then craps out. I suspect part of the problem is that I have a 325MB referenced model that is created from translated CAD models, so it has a variety of geometry issues...
At any rate, thanks again. I'll be back to this later today or tomorrow and will post results. On Nov 22, 1:58 pm, Justin Israel <[email protected]> wrote: > Try taking a look at this method of formatting your command. Its a lot easier > to handle all the quoting without escaping, and see exactly what command you > are defining: > > http://pastebin.com/2U2NCVkJ > > Maybe this method might actually address your issue? > > On Nov 22, 2011, at 11:11 AM, PixelMuncher wrote: > > > > > > > > > Also, I did try surrounding my os cmd with quotes and escaped quotes. > > It doesn't like unescaped quotes at all. > > With escaped quotes, It sees the 2nd escaped quote as an attempt to > > create a line continuation. > > However, that may be all that's needed to get this working at this > > point: > > > os.system (\" ' cmdjob -jobName ' + jobName + params + taskListFile + > > ' -taskName 1 ' + mayaPath + ' -s ' + %tp2 + ' -e ' + %tp3 + ' -of png > > -fnc name.#.ext -pad 3 -im ' + imageName + ' -r mr -cam ' + renderCam > > + ' -alpha 0 ' + ' -log z:/renderLogs/ATR24_log.txt -rd ' + destPath + > > scene2Render \") > > > -- > > view archives:http://groups.google.com/group/python_inside_maya > > change your subscription > > settings:http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
