If you only need to copy a single node without keeping it's connections, you can do:
import copy copy.copy(nuke.selectedNode()) For example. On Sun, Apr 14, 2013 at 8:50 AM, sanfx <[email protected]>wrote: > ** > can anyone tell me how should I duplicate a nuke node without using *Code: > * nukescripts.node_copypaste() if I use the above technique it copies > node information to clipboard which is what i dont want, I want to > duplicate a reformat node and connect the duplicated one to copy node's B > input.... > > > ------------------------------ > > san > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > -- Jose Fernandez de Castro
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
