i've been bitten by this before, and Now I can't find the correct update.
I'm creating render layers and saving a file in one fell swoop of a mel script.
the issue is, if I don't actually visualize the scene in maya, it doesn't do "something" that updates the layers and makes them able to be switched between.
I tried grabbing all the echoed commands from the script job, but it still isn't doing "something" that maya has to do, to finalize the making of these render layers.
the error i get is this:
[11:12:42] Render: Error: Cannot switch from 'defaultRenderLayer' to 'superLayer' because of an override to a missing node within a referenced scene. Reload the referenced scene if it's unloaded, clean up the referenced scene or remove corresponding reference edits if the node has been deleted in the referenced scene.
[11:12:42] Render: Warning: Cannot render 'superLayer' because we can't switch to that layer.
I get this error, only if I instantly send the file to the renderfarm, but if I wait, then run the part that sends the file to the render farm, its fine,, the only difference is waiting for maya to do whatever it does ,and then running the second half of the script
anyone have an idea on how to force maya to these updates?
--
stephe...@gmail.comhttp://smannimation.blogspot.com/
http://nymayausersgroup.blogspot.com/http://smann3d.blogspot.com/