Hello guys

Please take a look at this and guide me.
Situation: 

We have a FinalModel that is referenced in a scene for rig. In the rig 
scene, meshes get skin and rigging stuffs.
after that i want to save the scene using code (Here using Pyblish’s 
Plugin) that use this code:

cmds.file(path,
      force=True,
      typ="mayaAscii",
      exportSelected=True,
      preserveReferences=True,
      shader=True,
      expressions=False,
      constructionHistory=True)

Problem: 

The code will save the selected group in a new file and their connections 
in a new .ma file fine, but when we open the scene meshes does not show 
their shaders and just show us wireframe, while, meshes have materials 
connected to ShadingGroup.
This event happen when i export selection manually with maya menu.

make sense?

thanks
​

-- 
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/87371f12-d4e8-4e4f-9ea0-46e7cc28814e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to