Hi,
I have few shaders that are applied on the objects only for particular layer.
I am creating layer overrides over mental ray attributes(material shader and
shadow shader) of Shading engine node.
Which making maya to crash.
Dig deep, i came across that shading engine which i created through script with
the custom shaders creating the problem.
That is,
if i create shading engine node through command cmds.sets(renderable=True,
nosurfaceShader=True, empty=True), and try to give a layer override on mental
ray attributes, maya(2013) crashes.
whereas, if i create shading engine through cmds.shadingNode('shadineEngine',
asUtility=True) or createNode('shadingEngine'), the layer overrides works, but
then the assignments doesn't happen on the objects by command
cmds.sets(object, e=True, fe=shadingEngineName) and results into an error
saying(Error while parsing arguments).
Kidly Help.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].