Hey all, forgive me for yet another noob question -
I've been trying to find a way to create a list of an entire shading
network. I thought the easiest way to do so would be using hyperShade()
with the ldn flag, like this:
import maya.cmds as cmds
shadingNetwork = cmds.hyperShade('blinn1', ldn=True)
print(shadingNetwork)
But this keeps returning 'None' even when there are textures attached to
the material. I actually found a work around using listHistory(), but I
was still curious why the ldn flag was not working as I had expected.
Thanks!
Aren
--
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/205eedcd-031d-468b-910c-06f1e7d04eca%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.