Fix for Maya 2012 Error: setParent: object ‘renderView’ not found
来源:互联网 发布:java邮箱正则表达式 编辑:程序博客网 时间:2024/05/02 01:57
Autodesk Maya 2012 continues to "please" it's users with errors and bugs, while some of them possibly can become problematic and annoying. For example, one of the common errors in Maya 2012 - suddenly disappeared RenderView window content and menu buttons, when instead of rendering results user can see blank gray background. Fortunatly this can be easily fixed.
During the call for RenderView window in case of this error Maya will produce such error message:
Error: setParent: object ‘renderView’ not found
Cause of this error lies in fact that Maya sometimes for some reason stores incorrect data of it's window positions in one of the settings files, which are stored in user's Documents folder. So, to fix this issue user can just clear Maya prefrences by deleting corresponding files, or take another, better path, because need to delete Prefrences each time when this error appears is no good at all.
During the call for RenderView window in case of this error Maya will produce such error message:
Error: setParent: object ‘renderView’ not found
Cause of this error lies in fact that Maya sometimes for some reason stores incorrect data of it's window positions in one of the settings files, which are stored in user's Documents folder. So, to fix this issue user can just clear Maya prefrences by deleting corresponding files, or take another, better path, because need to delete Prefrences each time when this error appears is no good at all.
For this open Script Editor and paste into it following code:
$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; } } }Next to save our script on the Shelf for quick future access, in Script Editor go to File--> Save Script to Shelf and enter desired shelf button name, for example, something like RVFix. Keep in mind that button will be created in active Shelf tab, so prior to saving I can recommend to select Custom shelf tab and store your script there.
Now whenever you encounter this error you can simply click on shelf button and get your RenderView on where it supposed to be.
转载自 http://3dg.me/3d-graphics/maya/fix-for-maya-2012-error-setparent-object-renderview-not-found
- Fix for Maya 2012 Error: setParent: object ‘renderView’ not found
- Fix for Could not download the Silverlight application error
- checking for tgetent()... configure: error: NOT FOUND!
- error: device not found - waiting for device
- linux fix superblock not found
- issue---bug fix---error LNK2011: precompiled object not linked in; image may not run
- Maya Renderview自动keep渲染图片
- LINK : fatal error L1093: xxx.obj : object file not found
- 'Spawn scene object not found 1' Error 解决方法
- The way to fix error: Lexical or Preprocessor Issue 'libxml/xmlversion.h' file not found
- Object not found!
- ffmpeg error fix for librtmp
- xcode4: Linker error: Directory not found for option
- Resolve "Error 15: File not found" for Gentoo booting
- error: symbol(s) not found for architecture x86_64
- Error Domain class not found for name User
- ld: library not found for -lPods clang: error:xxx 解决办法
- Source not found for QuestionAction$$FastClassByCGLIB$$29ba82ad.invoke(int, Object, Object[]) line:
- sicily 1259
- S_ISDIR()函数
- php基础语法
- .Net小写转换成大写的人民币详细代码
- Struts 2的标签库(1)——标签库基础
- Fix for Maya 2012 Error: setParent: object ‘renderView’ not found
- 泛型
- 从郭老师那边学的三种唱法
- 构造函数、方法重载、属性
- 标准模板库(STL)学习探究之List容器
- 2011 移动互联大会杂谈: 移动互联和电子商务
- 浅谈 Linux 内核开发之 PCI 设备驱动
- MapActivity:Couldn't get connection factory client
- 自定义标签2