PDA

View Full Version : Error while trying to render my current viewport


Kayzer
12-19-2011, 09:00 AM
I'm getting this error message:

Error: setParent: Object 'renderView' not found.

The Render View shows nothing, and the image is saved to a 'tmp' directory inside the project folder.

Any idea why this is happening? :/

paradigm3d
12-20-2011, 09:18 AM
I'm getting this error message:

Error: setParent: Object 'renderView' not found.

The Render View shows nothing, and the image is saved to a 'tmp' directory inside the project folder.

Any idea why this is happening? :/

Solution (http://3dg.me/3d-graphics/maya/fix-for-maya-2012-error-setparent-object-renderview-not-found) >>

$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" ) {
deleteUI renderWindowPanel1;
$renderPanel = `scriptedPanel -type "renderWindowPanel" -unParent renderView`;
scriptedPanel -e -label `interToUI $renderPanel` $renderPanel;
}
}
}

Kayzer
12-21-2011, 11:50 AM
Works great,thanks!

CGTalk Moderation
12-21-2011, 11:50 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.