Command applied for NUKE's nodes:
some_node.width()
shows wrong width.
Like backdrop width is lesser than node width inside it (is it normal!?)
some_node.screenWidth()
always shows 0 width in terminal mode.
Actually I need it for determine nodes in backdrop. Tried next code:
backdrop_node.selectNodes(True)
print nuke.selectedNodes()
But this one returns nothing in terminal mode.
Thanks in advance for any help.
If you want to know the value of bdwidth property in The Foundry NUKE (I used mac version 11.3v3) you should type a very simple Python command:
nuke.toNode('BackdropNode1').knob(21).value()
This command works in Script Editor as well as in terminal mode.
\
To find out what Backdrop knobs' values are in NUKE's UI just select a node and press shortcut i on your keyboard to see a DetailNodeInfo window.

Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With