Search the Community
Showing results for tags 'input'.
Found 3 results
Hey, So I frequently make otls where I change what is being displayed based on what folder the user is looking at. I object merge different sections of the otl into a switch that has an output sop set to the 0th output underneath (since the display flag on the otl always shows the 0th output). A callback on the folder parm sets the input parameter of the switch, so as you change folders to edit different parameters, what is being displayed is changed. Then I use a second output sop to be the proper output of the otl, the finished product. I would love to be able to do this with only one output for my otl though. I think it would be nice to have an option on the output sop that doesn't just say ‘this node is output 0, this one is output 1’. It would be really handy if you could setup one output node that is the otls ‘display’ output, and a second that is the otls ‘output’ output if you will. I'm wondering if there is already a way to do this that I don't know about perhaps? Thanks! James C
I imagine this is very simple but I find building ui's with python a bit tricky (compared, for example, to Maya which is very straight forward). I want to create a simple window (or dialog or ui) with several text fields, float fields, int fields etc. I have it working with hou.ui.readMultiInput, but you don't have much control in terms of layout/styling or what data types are allowed/expected. What are the best functions for this kind of thing?