Mel KrakatoaRender Command

So after searching through the mel scripts I found the command “KrakatoaRender - cam $camera;” . I am trying to get krakatoa to work on our farm and the render seems to work fine, however I can’t control which render layer it renders. It always renders the masterLayer. Is there a way to tell it to render a specific layer? I run this mel command before rendering “editRenderLayerGlobals -currentRenderLayer bty” where bty is the render layer and it still renders the master. Is there a python or mel command I can use? How would you suggest rendering on a farm, I have seen no documentation on it ( I could be just missing it).

Thanks,
Speer

We recently started supporting render layers. It is possible that I am not properly supporting the command line options. I will double check to see what we can do to fix this.

It would also be cool if in the MEL commands i.e exportToPRT it could accept arguments. I was hoping to run sims on multiple farm computers while saving to partitions, but I couldn’t because the exportToPRT command gets all of it arguments from the gui. I understand that this could be by design, but if it’s not then could that be worked into a build? If this functionality already exists please point me to it, I am currently running sims on 2 computers manually I would love to do it through script on our farm in batch mode.

We could split up the function: “global proc exportToPRT()” split into two functions: One that retrieves the parameters from the UI. Then passes it to a second function that launches the actual export.

That way you could have scripted access with using the UI.

Sounds great!

The render layer bug has been fixed. The fix will be included in the next point release. Thank you for alerting us to the problem.

Now, to render a specific layer, you would use this MEL command:

KrakatoaRender -layer "layer1";