I would like to know something..
If I use MDagModifier or MDGModifier, Do i have to connect all of value or plugs by myself???
Such as, if animation curve node is duplicated, does the new animation curve node get all of keyframes from source node after got them?
Does it same progress as duplicate command in Mel?
thank you for your answer!!!
Does it have to be using the API?
How about:
from maya import cmds
cmds.duplicate('MyNode')
It’s got flags to also copy connections, or to duplicate the nodes leading into it.
Ah.. so I have to copy all of values manually... It is not easy way ^^
thank you for your answer!!!
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/fab722b6-9b5f-4f77-b10f-fd40a5b112e7%40googlegroups.com.
--
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 python_inside_m...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 python_inside_m...@googlegroups.com.
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.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1d2bd479-38c5-4678-84e4-426b2d85ff68%40googlegroups.com.