Fix for Autodesk Maya Error: File contains unknown nodes

标签:
mayavfxit |
Fix for Autodesk Maya Error: File contains unknown nodes or data
In this article I will cover receipe that will help you to deal
with another Autodesk Maya problem that happens from time to time
—
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
File contains unknown nodes or data. To
preserve this information, the current file type cannot
be
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
(
You can do this two ways:
1) Through
or...
2) Execute in Script Editor following
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
Autodesk also provides another option — you can manually force Maya
to change scene file type by executing
following
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