I’m guessing the input to your Write is an Input or Dot node. You’ll need to resolve to the next node in the tree that actually contains an Op.
Once you get that node, you should just be able to call hex(<node>.opHashes()[0]), as the opHashes list will already contain long ints. -Nathan From: robingraham Sent: Wednesday, July 13, 2011 3:16 PM To: [email protected] Subject: [Nuke-python] Re: opHashes() not matching nuke/node_hash nuke.toNode('precompWrite').input(0).opHashes() so this is the code I am using to get the hash from a write node but it is returning []. What am I doing wrong? I assume once I get this working I can just put hex(int( ) ) around it and I should get something that I can compare to the metadata. -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
