Jump to content

Search the Community

Showing results for tags 'button'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 6 results

  1. Hello! You know how shelf tools allow you to interact with the viewport? I want to do something similar like that for an HDA. I want when a button is clicked, cross hairs show up that allow the user to place points that will snap to the input geometry. What are some good resources that show how to do something like that? Thanks, ER
  2. Groupselection inside HDA

    Hey there! Im developing some HDA´s for my Bachelor Project! My actual Problem is about the Action Button for a Prim Group Selection. Right now im running the standart Action Button script below: import soputils kwargs['geometrytype'] = (hou.geometryType.Primitives,) kwargs['inputindex'] = 0 soputils.selectGroupParm(kwargs) But, of course it does refer to the Node above the Subnet. My question is: How can i refer to the Node above the Selction Node inside the Subnet ? Is it a Python Callback Script or is it something below the Action Button ? Thank you very much Max
  3. Hello everyone! I was wondering if it's possible to temporarely activate one side of a node-tree to do some texture baking via a button on the UI of a digital asset? Once the baking is done, this part of the tree should stop cooking. In a nutshell, i wanna be able to create a procedural model and once it's done, just hit a button to bake out textures (depending on the model) I'd like to try this in Unreal so my idea was to have digital asset in UE4, adjust some parameters to create a variation of my model and hit a button to generate the textures (curvature, normals from HP/LP, you name it..) which i can then import into the engine and use on materials. If i need to change the model I wanna do adjustments, rebake textures and refresh them in UE4. Is this possible? And if yes, can someone point me in the right direction? Thanks in advance! Ron
  4. How do I create a button for the undo command?

    Hello Everyone. How do I create a button for the undo command? Using a Python Script and hou.undos.performUndo() Note: On Python Source Editor the code work, but on Script Shelf not. error msg <Cannot undo within an undo group> How use hou.UndosGroup https://www.sidefx.com/docs/houdini/hom/hou/undos.html VideoCase https://drive.google.com/file/d/1-m38aiA50QPuSs75Pe9kiVOs7nMbg3XY/view
  5. Hello dear community, I am having trouble scripting a second button on my hda. Both functions for the two buttons have been defined in the OnCreate callback in the scripts tab. While the first one is working fine, clicking the second one throws an error, saying the function or attribute defined in the parameter settings is not available. The callback-parameter for the first button has the value: kwargs["node"].hdaModule().OnCreateCurveButtonPressed() The second one has the parameter: kwargs["node"].hdaModule().OnCreateSectorsButtonPressed() And this is the error message that the console throws: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.607/houdini/python2.7libs\hou.py", line 23413, in __getattr__ def _SIDEEF_getattr__(*args): return _hou.HDAModule___getattr__(*args) AttributeError: 'module' object has no attribute 'OnCreateSectorsButtonPressed' Does anybody know whats causing this?
  6. I am writing a node that will output some data that I am calculating as a mapped PNG file. The file takes a minute to execute, and it will only be getting worse as I increase its complexity, so I am wanting to set up the node so that I can trigger the code when I want it to run. I tried calling the function in the callback on the button, which is how I would expect it to work, but it doesn't apparently. I have looked around and found several people talking about hitting buttons automatically in the script, which is really not what I am looking for. So what am I missing in using a button in a UI?
×