hou.ui.readInput() question.

   1345   1   1
User Avatar
Member
46 posts
Joined: March 2015
Offline
Hey there,
I have a simple popup window called with hou.ui.readInput() where user puts some input.
Is there a way to remember what was put next time the window called?
Thanks!
User Avatar
Member
21 posts
Joined: Sept. 2018
Offline
I don't think readInput can do this by itself.

But you could store the value yourself (e.g. using the node's setUserData()) and then pass it to readInput via the initial_contents parameter.
  • Quick Links