Pretty much what the title says... I was wondering if there was a way anyone knew of to find out which nodes will be duplicated when you use duplicate(upstreamNodes=1). It's fairly easy to get a list of the NEW nodes, by getting a list of all nodes before and comparing with a list of all nodes after; but I can't find a good way to get a list of which nodes will be duplicated.
I can try to traverse the inputs myself, of course, but I'm worried about special cases - for instance, the docs say it will duplicate parents of dag nodes found during traversal, but it didn't seem to do that when I tested; also, it seems 'undeletable' nodes, like 'persp', won't be duplicated, but only have their connections duplicated. -- http://groups.google.com/group/python_inside_maya
