Ya, they take the name of a node, and also the hyperShade command doesn't use an argument. Just keyword params: http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPython/hyperShade.html
If you want the textures connected to the shader, then maybe you actually want the upstream nodes? cmds.hyperShade(lun="blinn1") On Thu, Feb 20, 2014 at 8:26 AM, Ævar Guðmundsson < [email protected]> wrote: > I might be wrong but I don't think the ldn flag accepts a Boolean... > > Do you get the same result if you pass it a string filter? ( ,ldn="*" ) > > -- > 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/98a178cf-88c9-43a8-a3c7-48b8622d6e5b%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAPGFgA2iXf2UMGfLw0DQzNhTVxHj5ZAzWv_j62UhQerAWzpieg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
