加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

Fix for Autodesk Maya Error: File contains unknown nodes

(2014-02-13 10:04:14)
标签:

maya

vfx

it

Fix for Autodesk Maya Error: File contains unknown nodes or data

October 25, 2011 in  category.

In this article I will cover receipe that will help you to deal with another Autodesk Maya problem that happens from time to time — Error: File contains unknown nodes or data, which prevents users from saving their files in desired Maya file format. Previously I've posted solution to another very common Maya problem that you may be interested in — check out how to fix emptyRenderView window in Error: setParent: object ‘renderView’ not found article.

So, you've opened Maya scene, received from some of your sources ( like downloading it from the internet ), made your changes and then you want to save your work. You go to File menu, then Save As... , selected needed file format ( like .ma ) and hit Save, but suddenly Maya window pop-ups and says that it unable to save your scene in this format because there is some unknown nodes and data. Literally this message looks like this:

http://3dg.me/sites/default/files/story_files/images/maya_save_unknown_data.pngfor Autodesk Maya Error: File contains unknown nodes" />

File contains unknown nodes or data. To preserve this information, the current file type cannot be changed.

This error often appears when scene contains nodes, created by third-party plugins that are uninstalled or disabled in your particular Maya configuration. To get the idea what plugins you may need to evaluate your scene correctly you can check Script Editor windows — all error messages goes there aswel.

To restore ability to save a scene in all Maya formats ( Maya ASCII or Maya Binary ), you may need to find and install required plugins, or — as it often simpler to do — just delete this unknown nodes and data. In my case, when I had run into this error, there was no any plugin dependencies, because my scene was just restored from Temp folder after Maya crashed with some generous ammount of my work ( I will write another article on how to restore such scenes form Temp folder ), thus there was no other choices but to delete unknown nodes and data.

You can do this two ways:

1) Through File -- Optimize Scene Size  menu, where you need to scroll a window all the way down, check Remove: Unknown Nodes and press Optimize Now button.
  

or...

2) Execute in Script Editor following command:

delete `ls -type unknown -type unknownDag -type unknownTransform`

After this all unknown nodes and data will be deleted from the scene, and you will be able to save it in both Maya file formats ( .ma and .mb ). But there is some point to consider — in some cases deleting such nodes isn't the best way to go. For example, if you received your scene file from your collegue, have to make your part of work and then return this scene to him, then he probably will not be happy  to get a scene with deleted plugin-specific nodes that he uses, and you — don't. But if you work alone or need to get just geometry from the scene, and any other data is unnecessary — probably it's pretty safe to "clean" a scene a little bit.

Autodesk also provides another option — you can manually force Maya to change scene file type by executing following command:

file -type "mayaAscii";

After this Maya internally will consider a scene as Maya ASCII and you will be able to save it in this format ( .ma ).

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有