Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

  • Days Won


Stalkerx777 last won the day on July 16

Stalkerx777 had the most liked content!

Community Reputation

105 Excellent

About Stalkerx777

Contact Methods

  • Skype

Personal Information

  • Name
    Alex Rusev
  • Location
    Vancouver, Canada

Recent Profile Visitors

7,964 profile views
  1. Creating ALIAS for launching houdini

    alias houdini_run='cd /opt/hfs16.5.595; source houdini_setup >> /dev/null; cd - >> /dev/null; env PATH=/home/jim/yt-conda/bin:/home/jim/yt-conda/sbin:$PATH houdini'
  2. PySide to PySyde2 UI

    It's true that official release does not provide Python2.7 binaries for windows: https://download.qt.io/official_releases/QtForPython/pyside2/
  3. PySide to PySyde2 UI

  4. Progress Bar in a User's Property Page

    What is a "user defined property page"?
  5. Set Script to Existing Button

    Right, here is a working solution: n = hou.node('/obj/geo1') ptg = n.parmTemplateGroup() pt = ptg.find('myParm') pt.setScriptCallback('print 123') pt.setScriptCallbackLanguage(hou.scriptLanguage.Python) ptg.replace('myParm', pt) n.setParmTemplateGroup(ptg)
  6. Set Script to Existing Button

    Take a look at hou.ParmTemplate.setTags() method.
  7. Configuring PATHs for installed Python packages

    I don't know the specifics of this package, but for a regular Python package you need PYTHONPATH variable and not PATH
  8. houdini python and mply

    import subprocess subprocess.Popen(['gplay', '/path/to/your/geometry.$F4.bgeo']) gplay must be in PATH, otherwise, specify a full path to it ($HFS/bin/gplay)
  9. Editing Parameter Interface with Python

    Untested, off the top of my head: node = hou.node('your_node') ptg = node.parmTemplateGroup() for i, file_path in enumerate(paths): pt = hou.StringParmTemplate('file%d' % i, 'File %d' %i, 1, file_path) ptg.addParmTemplate(pt) node.setParmTemplate(ptg) Or you could multi-parm block: hou.FolderParmTemplate( ... folder_type=MultiparmBlock)
  10. Multisolver Inputs

    Unfortunately, this is not possible at this moment. It could be quite useful, there were a few times when I wished this feature existed.
  11. Menu Script consistency

    The menu script gets evaluated every time and so if you have an inconsistency between users/machines, you have to deal with it at the script level. There are also two types of menu: a string type menu and an ordered menu. I believe if you set it to a string type it will preserve its value.
  12. pyside2 QPushButton mousePressEvent

    Here's a simpler way: QPushButton.setCheckable(True) QPushButton.isCheked()
  13. Viewport capture through command line

    Hi, Yes, the ui module contains UI related stuff and is not available in Hython. You have few other options: 1. Use OpenGL ROP (probably the best option) http://www.sidefx.com/docs/houdini/nodes/out/opengl.html 2. Call Hscript http://www.sidefx.com/docs/houdini/commands/viewwrite.html Cheers
  14. HDK 16.5 How to generate *.proto.h

    CMake generates this .proto file at build time. This recently introduced feature allows you (optionally) decouple parameter interface code from the main code. Again, it's not required to do it that way, unless you have special intentions like supporting compiled blocks feature for example or adding a "verb" (see docs) to your plugin. Now, if you absolutely necessary to use SCons, AND you have a code which uses this new paradigm (like SOP_Star.C) take a look at CMakeLists.txt file, you'll see houdini_generate_proto_headers function, which lives in toolkit/cmake/HoudiniConfig.cmake file. Implement it in your SCons script if you want. Cheers.
  15. Houdini 17 Wishlist

    https://www.youtube.com/watch?v=JHjm-zfP6sM ... Display Options -> Apply Operation To All Split Views ... Select objects, enter the rotate tool, right click on the manipulator in the viewport -> Global Control ... Path Tool. Although it's very clumsy. ... Help->Example Files->Python Panel Examples->Viewport Color Editor.