Jump to content

E. Ozgur Yilmaz

Members
  • Content count

    2
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About E. Ozgur Yilmaz

  • Rank
    Peon

Personal Information

  • Name
    Erkan Ozgur
  • Location
    Turkey
  1. vertical alignment of nodes

    I know it is an old post, but I wanted to reply to this one just for reference: # the key here is to use the Python module that comes with # Houdini itself import nodegraphalign # get the selected node node = hou.selectedNodes()[0] # Get the Network Editor, assuming it is under the cursor # if it is not you can use # # network_editor = None # for pane_tab in hou.ui.paneTabs(): # if isinstance(pane_tab, hou.NetworkEditor): # network_editor = pane_tab # break network_editor = hou.ui.paneTabUnderCursor() nodegraphalign.alignConnected(network_editor, node, None, "down") # up, left, right are the other options # there are also other functions # # nodegraphalign.alignConnected # nodegraphalign.alignItems # nodegraphalign.alignSelected
  2. Python's multiprocessing

    Use: import platform import multiprocessing if platform.system() == 'Windows': multiprocessing.set_executable('C:/Python27/pythonw.exe') elif platform.system() == 'Linux': multiprocessing.set_executable('/usr/bin/python') to use the system python. Beware that Houdini 13/14 is using Python 2.7.5 so you need to install the same version. With this trick I was able to run system python with multiprocessing.
×