After years I’m jumping back into Maya, been trying pymel lately.
A frustration I have is that some pymel functions seem to return PyNodes,
while others return a list of [PyNode, string].
so depending on how I acquired a node, and what I pass it to, I reference it as
my_node
or
my_node[0]
this, combined with python’s loose typing is giving me a bit of a headache.
is there a general rule to apply about when I can expect a PyNode vs a List?
or do I just have to watch each pymel fucntion for what it spits out?