Skip to content

Instantly share code, notes, and snippets.

@kickbase
Created June 10, 2026 08:13
Show Gist options
  • Select an option

  • Save kickbase/c2b766ac108b7be52eeef69b1a44eae6 to your computer and use it in GitHub Desktop.

Select an option

Save kickbase/c2b766ac108b7be52eeef69b1a44eae6 to your computer and use it in GitHub Desktop.
[Houdini] [Python] Shelf tool to reset selected nodes to their default color
import hou
with hou.undos.group("Reset colors to default"):
for node in hou.selectedNodes():
node.setGenericFlag(hou.nodeFlag.ColorDefault, True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment