Last active
June 18, 2020 05:04
-
-
Save kickbase/bad22dd2091d8de16879c98db4ec16de to your computer and use it in GitHub Desktop.
[Houdini] [Python] Disconnect and Refresh Parms.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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