external Content Table

32 views
Skip to first unread message

vincent zaraek

unread,
Jan 28, 2017, 12:44:19 PM1/28/17
to Python Programming for Autodesk Maya
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

Reply all
Reply to author
Forward
0 new messages