You are right, it doesn't. But the nuke copy paste function doesn't either, which is really terrible. I have had nothing but trouble with those functions, they should really change them to something more pythonic.
On Wed, Oct 19, 2011 at 1:42 AM, Lars Cawley <[email protected]>wrote: > What I am getting from this: > > s=nuke.selectedNode() > > print copy.deepcopy(s) > > is that the node is not returned for use loaded as a variable. Am I > missing something, or is this the price to pay for going around the > documented way of copy/paste? > > > Lars > > On 9/07/2011 4:34 a.m., pixelcowboy wrote: > > Ok, so I found that copy.deepcopy works perfectly to copy nuke nodes, and > it works in this instance. > > > _______________________________________________ > Nuke-python mailing [email protected], > http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > > _______________________________________________ > 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
