Jump to content

Search the Community

Showing results for tags 'hou'.

  • Search By Tags

    • hou ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 17 results

  1. So I am working on a project which is requiring me to extract the point numbers from an arbitrary polygonal object. The most pythonic way to do what I am trying to do is this: geo = hou.Geometry() geo.loadFromFile(path/to/my/file.bgeo.sc) primPoints = [[pt.number() for pt in pr.points()] fo...
  2. Hi, Using python in houdini. I'm trying to get the full network path from the network editor that's under my mouse cursor. This is the code I have so far. I put this code in a shelf button. Assigned a hotkey to the shelf button. When I'm over my network editor I pr...
  3. import hou #CreateNode root = "/obj" node = hou.node(root).createNode("geo" , "test") #ParmGRP parm_group = node.parmTemplateGroup() parm = hou.IntParmTemplate("testParm", "TestParameter" , 1) #ParmAppend parm_group.append(parm) node.setParmTemplateGroup(parm_group) #Move To...
  4. Hi. Guys. I got a huge work to do, there is a fbx file export form max,when i import it to houdini, it include too much parameters on Geo interface form max. So i want delete it all since it was useless. I make a sketch show what i want to do. I just want to remove the ss parameter form interf...
  5. Hi, I am programmatically generating Houdini scene (HIP) files After creating and connecting nodes, I'd like to perform a layout and home so that when the user open up the scene, it is not one ball of nodes in the center. Is there a way to do that in Hython calls, what about C++ ?...
  6. Hi there, I'm importing the hou module into a custom python script and I would like to have multiple scenes opened at the same time. This is how it is implemented: import sys from importlib import reload sys.path.append(HOUDINI_PATH) try: import hou except ImportError: print('houdin...
  7. Hey guys, I am trying to store some variables into the session source so I can easily get at it at any time. So far the tests I've been running have been working great, but I am not quiet sure how I can expand on the syntax to allow for variables to control the values set into the source....
  8. import hou import pprint node = hou.node('/obj/geo1/subnet2/TestNode') number = 5 parm_tuple = node.parmTuples()[number] name = [parm.name() for parm in parm_tuple] group = node.parmTemplateGroup() parm_template = group.entriesWithoutFolders()[number] myIndex = group.containingFolderIndices(...
  9. Dear colleagues, Houdini provides developers with an option to open the File-/Node-Dialog (such as hou.ui.selectFile() and hou.ui.selectNode()). However, in case I call it from the external QWidget, in my case it is PySide2. If I close this PySide2's QWindow, obviously, it causes the Houdini cr...
  10. Hey ODFORCE, Does PyCharm integrate with Houdini well? (Auto-completion, external debugging, unit testing?) Just curious. I did find some blog posts on VS Code set up, but I was curious about Houdini and PyCharm specifically. There was an issue with PySide from an earlier post..? (I'm fai...
  11. Hi everyone, I'm trying to have my Python Module in my HDA place another node right below my asset on creation. So my OnCreation script runs my python module from disk, which has the following code: pos = first_node.position() second_pos = (pos[0], pos[1] - 2) second_node.setPosition(second...
  12. I have added interpreter " C:\Program Files\Side Effects Software\Houdini 16.0.705\python27\python2.7.exe ". Added paths "C:\Program Files\Side Effects Software\Houdini 16.0.705\houdini\python2.7libs " to pycharm. added "C:\Program Files\Side Effects Software\Houdini 16.0.705\houd...
  13. Hello, in Houdini 15 I was using hou.ui.selectFile() dialog to get user's input and I would process it further in python. I used the same function to let user select files or folders, based on the needs of a tool. Now I updated to 16 and the function does not seem to enable user to select a fo...
  14. 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.readMult...
  15. Hello, what I would like to do is very simple, just for an exercise. I would like to run Houdini from a Python script using the hou module. What I am trying to get working is something like: import sys import subprocess sys.path.append('/opt/hfs15.0.244.16/houdini/python2.7libs') import hou hou....
  16. Hi I want to import .abc cache containing a maya camera into houdini scene, but I can't seem to find the approriate hscript or hou functions. I mean I can do it manually by file --> import--> alembic scene. But How do I automate this in python script ? there is some animation from frame 1-100 in t...
  17. Hi everybody, Can anybody point me to a way of getting text highlighting of the hou module while using emacs as an external text editor? Thank you!!!
×
×
  • Create New...