hmm, not sure if this is any use, but i've just seen the
release notes for 6.2v3 which mention:
• BUG ID 16729 - Python: A format() function was added to
nuke.Node class to enable querying for the format that a
particular node uses.
++ chris
On 3/22/11 at 5:12 PM, [email protected] (Michael Havart) wrote:
Hi Ron,
just trying to match the width and height of the node with the
width and
height of one of the formats:
def getFormat(node):
w,h = int(node.width()), int(node.height())
for format in nuke.formats():
if w == format.width() and h == format.height():
print node.name()+' has this format: '+format.name()
getFormat(nuke.selectedNode())
Michael
2011/3/22 Ron Ganbar <[email protected]>
Hmmm...
OK, anyone: is there a way to call up in an expression the
current format
of a node? Not the height and width, but the whole format?
_______________________________________________
Nuke-users mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users