Last active
January 11, 2022 15:47
-
-
Save deepakxyz/8ca77899cb7d81ce349d9a5e29324c41 to your computer and use it in GitHub Desktop.
Create attribute wrangle under the selected node
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
node = hou.selectedNodes()[0] | |
attributeWrangle = node.parent().createNode('attribwrangle') | |
attributeWrangle.setInput(0,node) | |
attributeWrangle.setPosition(node.position() + hou.Vector2(0,-1)) | |
#attributeWrangle.setColor(hou.Color((0.4,0.6,1.0))) | |
attributeWrangle.setDisplayFlag(True) | |
attributeWrangle.setRenderFlag(True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment