Hi folks, on maya 2014 and 2015, when a file is saved, maya add a scene metadata called externalContentTable. If we see on the end of a .ma or .mb file the last lines are this metadata, and it looks something like this:
dataStructure -fmt "raw" -as "name=externalContentTable:string=node:string=key:string=upath:uint32=upathcrc:string=rpath:string=roles"; applyMetadata -fmt "raw" -v "channel\nname externalContentTable\nstream\n name v1.0\nindexType numeric\nstructure externalContentTable\n 0\n \"file1\" \"fileTextureName\" \"unresolvedPath" 3093401212 \"resolvedPath" \"sourceImages\"\nendStream\n endChannel\n endAssociations\n" This is very usefull for get the maya file references and textures outside of maya app But sadly I found that maya 2017 dont save this information on the .ma or .mb files. There are some documentation about this on the API help, but itns't clear, it's lacking of examples, and do not mention any save scene callback. So I could create my own before save callback and create/add the scene metadata, but do any one know if there is some setting or command to enable it to work as maya 2015? Thanks a lot -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d384a21e-da39-46dc-a2ad-5c3abc7eb50f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
