Agreed! So, my work around is to grab the new node with nuke.selectedNode() as it is the only node selected after the deepcopy.

Lars

On 20/10/2011 12:59 p.m., [email protected] wrote:
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] <mailto:[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



_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to