nuke python weird

python syntax in nuke.. I don’t get it at all.

I’m just trying to deactivate postage stamps fo certain selected nodes.
but I have no clue how it works and sadly python is completely different from maya.
I can’t even get one command to work :veryfunny

Code:

import nuke  sel = nuke.selectSimilar(nuke.MATCH_CLASS)
  for i in sel:
    nuke.setValue('postageStamp', '0')


thanks for input

No Responses to “nuke python weird”

Post a Comment