Thursday, February 09, 2012

Maya 2012 Render Window Error

Hiya guys,

I've been having a problem with 2012 where the render window is missing. It's a know bug with 2012.

If anyone has that problem there is a simple fix.

1. Copy below script into the script editor

$exists=0;
for ($item in `getPanel -scriptType "renderWindowPanel"`) {
if ( $item == "renderView" ) {
print "renderView exists.\n";
$exists=1;
}
}
if ( $exists == 0 ) {
for ($item in `getPanel -scriptType "renderWindowPanel"`) {
//print ( $item + "\n");
if ( $item == "renderWindowPanel1" ) {
//delete it and rename it to something that renderman can use
print "renderWindowPanel1 detected: switching to renderView so renderman can use it...\n";
deleteUI renderWindowPanel1;
$renderPanel = `scriptedPanel -type "renderWindowPanel" -unParent renderView`;
scriptedPanel -e -label `interToUI $renderPanel` $renderPanel;
}
}
}

2. Highlight script and middle mouse drag to your shelf.
3. Click new script button you just created.
4. Re open render view.

5 comments:

  1. Thank you JUstin!!!!!!!!!!! :D

    ReplyDelete
  2. Same problem here! Tried the script, to no avail. I click on "render view" and it shows nothing at all. No render window at all. In Win xp, the window top bar goes light as if something is happening, but, no render window. On the bottom ber it says "render view exists".

    ReplyDelete
  3. Thank you!!!!

    ReplyDelete
  4. I have the same problem as anonymous wrote on 31 March.
    Script editor says "render view exists", but I can´t see it.
    Did you solve the problem?

    ReplyDelete
  5. Is there a fix for render window not showing at all?
    I have the same issue as message 31 march & 14 may

    ReplyDelete