nuke text node setup in python problem

hi friends. I have a bit of a noobish question and I apologize in advance.

I am trying to set up a simple slate using the text node, and I seem to be having a problem controlling the box and translate parameters. Can’t set them for some reason, although I think the parameters names are right. I got the parameters names with connecting the expression out of the node to another node.

here’s the slate part of the script:


nuke.nodes.Text (
name="Slate",
font="/usr/share/fonts/bitstream-vera/Vera.ttf",
yjustify = "center",
#box.main.x = 0,
#box.main.y = 0,
#box.main.r = 2048,
#box.main.t = 1168,
#translate.main.x = 50,
#translate.main.y = -550,
size = 25,
message="shot number"
).setInput(0,nuke.selectedNode())

the script basically attaches this to selected node. the commented part is the one that doesn’t work, without it seems to be fine.

any suggestions would be welcomed.

thanks

No Responses to “nuke text node setup in python problem”

Post a Comment