Jump to content

Stalkerx777

Members+
  • Content count

    333
  • Joined

  • Last visited

  • Days Won

    8

Stalkerx777 last won the day on October 13

Stalkerx777 had the most liked content!

Community Reputation

87 Excellent

5 Followers

About Stalkerx777

  • Rank
    Illusionist
  • Birthday 03/02/1984

Contact Methods

  • Skype
    alexx_houdini

Personal Information

  • Name
    Alex Rusev
  • Location
    Vancouver, Canada

Recent Profile Visitors

6,607 profile views
  1. Simplify Keyframes Script?

    HScript chrefit command
  2. Cumulative edits in HDA

    Yes, see Geometry Data parameter type and a new Stash SOP
  3. No, nothing you can do about it. OS constantly sends all sorts of events to Houdini application, and since the latter waits while you editing code, Windows assumes that your application experiencing problems
  4. Set Parent node as current node

    @CinnamonMetal Please create a separate topic for all your Python questions, Thanks.
  5. Index of class on empty string

    Do not use break keyword inside the if statement and you'll get an infinite loop.
  6. Index of class on empty string

    while True: btn, nodeName = hou.ui.readInput("what do you want",buttons=('OK',"Cancel"),default_choice=0,title="Name the sphere",close_choice=1) if btn == 0 and nodeName: intro = hou.node("/obj").createNode("geo","geometryA") superGeo = intro.createNode("sphere",nodeName) superGeo.setPosition([2.3,4.5]) superGeo.setParms({"radx":2.3,"radz":4.2,"type":"bezier","rows":54}) fileNode = intro.node("file1") fileNode.destroy() superGeo.setRenderFlag(True) break
  7. Index of class on empty string

    Not clear what are you trying to do. Post your code example here so I could help.
  8. Only load presets in certain conditions

    Hey, You have several options here. Wrap Houdini executable into a launcher script and append a path containing a presets to the HOUDINI_PATH, based on a condition. Wrap Houdini node into an HDA and implement your custom presets in Python. Wait for the next Houdini version, where there is going to be possible to customize node's gear menu with XML (and use <labelExpression> tag to enable/disable menu entries)
  9. Stuck on cooking and HOM fundamental (Python)

    Make sure to turn off "Cache Object Transform" on your targetNode. This should help. If not, use an old good trick with a hidden parameter with expression in it, which will trigger your node to cook.
  10. access menu item

    I don't think you can do this with Python, but you can utilize <labelExpression> XML tag in your menu file. http://www.sidefx.com/docs/houdini/basics/config_menus Cheers.
  11. There is no way to change a number of inputs for built-in nodes. It's only possible for custom operators(digital assets, dso plugins)
  12. changing a parameter on everynode in my scene

    http://www.sidefx.com/docs/houdini/ref/panes/parmsheet
  13. Running python scripts files from python node

    No matter where you run python code from, you're using Houdini's embedded Python interpreter.
  14. How to connect HTML5 / JS UI with Houdini

    If you want your JS UI run outside of Houdini, the way to go is a client/server REST approach. You have to write server side code to run in Houdini. Similar, you can write standalone server app running outside of Houdini and communicate with Houdini via hrpyc. One more interesting approach I used in the past is using QtWebKit based widget to render HTML inside Houdini and using Qt Signals/Slots to fire events from JS callbacks. Works good, but only if you have access to JS source code, or write your own with this integration purpose in mind.
  15. Just pass you geometry as an argument to your function. In HDA: def modify_geo(geo): geo.addAttribute(...) return geo In Python SOP: module = hou.nodeType("Sop/MyHDA").hdaModule() geo = module.modify_geo(geo)
×