pasteToSelected v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Frank Rueter
Website: www.ohufx.com
paste the clipboard to all selected nodes
Requirements:
5.1, 5.2, 6.0, 6.1, 6.2, 6.3 or later
Linux, Mac, Windows
19 Feb 2012
770

v1.1 - fixed missing import statement for nuke module


example menu.py entry:

 

1
2
3
4
import pasteToSelected
 
menuBar = nuke.menu("Nuke")
menuBar.addCommand('Edit/Paste To Selected', 'pasteToSelected.pasteToSelected()', index=10)

 


 

Select a bunch of nodes and copy them to the clipboard:
pasteToSel_01

selected the receiving nodes and run the script:
pasteToSel_02

boom:
pasteToSel_03

Please login in order to download these files.

Comments   

 
+1 # Frank Rueter 2010-10-18 16:05
just subscribing to this feedback thread
 
 
0 # Roman Yu 2012-02-18 12:34
paste code to menu.py
copy script to plugins dir
select nodes - edit - paste to selected - error (name 'paste to selected' is not defined)
6.3 x64
 
 
0 # frank rueter 2012-02-18 16:30
you have to add the import statement in your menu.py as well. Sorry, I keep forgetting these bits:
import pasteToSelected
 
 
0 # Roman Yu 2012-02-19 07:17
Sorry, did`nt work...
global name nuke is not defined
 
 
0 # Frank Rueter 2012-02-19 13:41
"import nuke" at the top of your file.
 
 
0 # Frank Rueter 2012-02-19 13:49
oops, sorry, I meant the import statement is missing from the top of the python script. I've added it and updated the upload, so re-download and it should work (or simply add "import nuke" to the top of pasteToSelected .py).
 
 
0 # sijen zigna 2012-02-19 19:04
Great feature! Tnx!
 
 
0 # Roman Yu 2012-02-19 22:28
Gr8! Thanks!
 
 
0 # Michael Huber 2015-05-03 00:41
Just discovered this ;) Thanks !!
 
 
0 # eric martin 2016-02-18 23:03
VERY handy thank you!! :D :D
 
 
0 # Sheldon Lisoy 2016-04-01 18:56
Great! thanks very helpful
 

You have no rights to post comments

We have 2096 guests and 52 members online