Skip to content

Instantly share code, notes, and snippets.

@deepakxyz
Last active January 11, 2022 15:46
Show Gist options
  • Save deepakxyz/2d5753cdf105639631e7be58bc9bea8d to your computer and use it in GitHub Desktop.
Save deepakxyz/2d5753cdf105639631e7be58bc9bea8d to your computer and use it in GitHub Desktop.
node = hou.pwd()
geo = node.geometry()
r = node.evalParm('colorr')
g = node.evalParm('colorg')
b = node.evalParm('colorb')
print(r,g,b)
node.setColor(hou.Color(r,g,b))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment