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

So a lot of the times when I receive a .mb file containing a model to rig the first thing I want to do is set-up my projects, rename my scenes and save a version 00 to .ma – however every so often this message pops up:

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

Which refuses to let me save to a Maya Ascii file. Searching around I have found 2 fixes for this:

a) Force Maya to change the scene file type by executing the MEL code (keeps unknown nodes):

file -type "mayaAscii";

b) Deleting all unknown nodes in the scene by executing the MEL code:

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

Leave a Reply

Your email address will not be published. Required fields are marked *