Mzigaib Posted September 9, 2022 Share Posted September 9, 2022 (edited) I am trying to store a color value from color editor using python but no success so far, I did found this on the manual but Icould not figure how to store the values to use it later. Code: def handleColorChange(color, alpha): print "Current color in editor:", color, ", alpha=", alpha hou.ui.openColorEditor(handleColorChange) It does updates the values but I could not figure how to estore the r,g,b values in a variable I would appreciate the help Edited September 9, 2022 by Mzigaib Quote Link to comment Share on other sites More sharing options...
Mzigaib Posted September 9, 2022 Author Share Posted September 9, 2022 "SOLVED" I just found out that you need to use hou.ui.selectColor() to get color properly Thanks anyway! 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.