Ah, I see.

Well, for speed, it might help to export selected nodes or hierarchies and
import them back in. That would essentially rely on Maya's
serialisation/deserialisation mechanism for duplicating, which is pretty
fast and solid.

You'd have a namespace to deal with if you do, but that shouldn't be much
different from how you would otherwise have to take care of names by
manually duplicating.


On 21 August 2014 07:10, ktj428 <[email protected]> wrote:

>
>   Yes, also python command is used for my project..
>
>   In my opinion, it is easy way to find solution. cmds.duplicate() is
> posiible to copy all of nodes in maya.
>
>   But I took a problem to speed, when I duplicate too many objects. So
> just i want to make a code for duplicate to use api..
>
>
>   Thank you for your advice. people are too kind ^^
>
> --
> 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/ac3a0cc0-0cb8-4f02-aad5-029b727da6c5%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmODTAEni0P9TB2jK-HEOfBdJD6SEKyVCL21vyM_%2Bs%3DX%3Dzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to