hi
i'm writing a simple python scritp that create a simple network node. In my network i have some shuffle copy node and in the out2 of this node i need to add a new channel. How can i do that with python?
Thx
idioteque
|
|
hi
i'm writing a simple python scritp that create a simple network node. In my network i have some shuffle copy node and in the out2 of this node i need to add a new channel. How can i do that with python?
Thx
idioteque
Ok, i found a solution but there is a problem. I can add a new layer and channels with tcl function add_layer{"layername" "channels..."} but there is a problem. There isn't a python wrap of this function in nuke 5.1? One possible solution is to execute a tcl command from python but how can do this? On the dev documentation there anren't that can help me, i don't know why a software like nuke has a so bad documentation!!!
EDIT: i found the solutionnuke.tcl('add_layer { mylayer2 mylayer2.R mylayer2.G mylayer2.b }')
Last edited by idioteque; November 21st, 2008 at 08:37 AM.
| « Previous Thread | Next Thread » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |