Linguininess Posted September 5, 2020 Share Posted September 5, 2020 (edited) x Edited July 23, 2021 by Linguininess Quote Link to comment Share on other sites More sharing options...
Linguininess Posted September 6, 2020 Author Share Posted September 6, 2020 no one? :/ Quote Link to comment Share on other sites More sharing options...
bunker Posted September 6, 2020 Share Posted September 6, 2020 node = hou.node('/obj/geo1/null1') node.setColor(hou.Color(1,0,0)) also you could have just googled: houdini set node color and clicked on the very first link Quote Link to comment Share on other sites More sharing options...
animatrix Posted September 6, 2020 Share Posted September 6, 2020 Hi, You can put this code in Scripts > Python Module: def setNodeColor(kwargs): this = kwargs['node'] color = hou.Color(1, 0, 0) readmode = this.evalParm('readmode') if readmode == 1: color = hou.Color(1, 0.8, 0) elif readmode > 0: color = hou.Color(0.6, 1, 0.2) this.setColor(color) Then call it in the parameter's Callback Script parameter like this: hou.phm().setNodeColor(kwargs) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.