Oop pressed send by mistake

 
As 'copy as clone'


nuke.cloneSelected("copy")
nuke.nodeCopy(nukescripts.cut_paste_file())
nukescripts.node_delete()
nuke.nodePaste(nukescripts.cut_paste_file())
nukescripts.dropData('text/plain', '''set cut_paste_input \[stack 0]\nversion 
7.0 v6\npush \$cut_paste_input\nclone node11d40eda0|Grade|1295 Grade {\nname 
Grade4\nselected true\nxpos -915\nypos -301\n}\n''')

and clone

nuke.cloneSelected()


 
Cheers
Howard


________________________________
 From: Howard Jones <mrhowardjo...@yahoo.com>
To: Nuke Python discussion <nuke-python@support.thefoundry.co.uk> 
Sent: Wednesday, 5 June 2013, 13:10
Subject: Re: [Nuke-python] Copying a node as an instance
 


This is the python from copying and pasting as a clone



 
Cheers
Howard


________________________________
 From: Diogo Girondi <diogogiro...@gmail.com>
To: nuke-python@support.thefoundry.co.uk 
Cc: nuke-python@support.thefoundry.co.uk 
Sent: Wednesday, 5 June 2013, 12:38
Subject: Re: [Nuke-python] Copying a node as an instance
 


A Clone doesn't work for you?

​-Diogo 


On Wed, Jun 5, 2013 at 6:22 AM, Justin GD <nuke-python-re...@thefoundry.co.uk> 
wrote:

Hi everyone,
>
>Is it possible to copy a node as an instance ? What I want is two exactly same 
>nodes with same settings. When changing a setting from a node it changes the 
>other one's.
>
>Basically, it's kind of the same as using expressions, but with all the node's 
>settings. (We can't put expression on all settings)
>
>
>Many thanks,
>Justin

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

Reply via email to