Skip to content

Instantly share code, notes, and snippets.

@kickbase
Last active June 18, 2020 05:04
Show Gist options
  • Save kickbase/bad22dd2091d8de16879c98db4ec16de to your computer and use it in GitHub Desktop.
Save kickbase/bad22dd2091d8de16879c98db4ec16de to your computer and use it in GitHub Desktop.
[Houdini] [Python] Disconnect and Refresh Parms.
for node in hou.selectedNodes():
path = node.parent().path()
type = node.type().name()
name = node.name()
node.destroy()
geo = hou.node(path).createNode(type, name)
geo.moveToGoodPosition()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment