The docstring for duplicate says rr is forced on:
    - returnRootsOnly is forced on. This is because the duplicate
command does not use full paths when returning
    the names of duplicated objects and will fail if the name is not
unique. Rather than return a mixed list of PyNodes and strings, I
thought it best to give more predictable results.

When duplicating non-dag nodes this is an issues since I don't get any
results.  Any thoughts on the best way to deal with this?  Change it
so rr simply defaults to on?  Or use maya.cmds.duplicate or something
else I haven't thought of?

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to