Jump to content

Houdini7

Members
  • Content count

    72
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

5 Neutral

About Houdini7

  • Rank
    Peon

Personal Information

  • Name
    Andy
  • Location
    GER
  1. param dialog children

    Has no one an idea? Please help me.
  2. param dialog children

    Hi, i want to extend houdinis UI and I must say the whole UI Api is really a mess. pyqt, pyside, pyside2, qt, python, shiboken. really? why so complicated. and why on earth is the documentation so bad. okay, rent over. what i want to do: 1) i want the edit box (parameter) under the cursor in the parameter window. the unique name or path of the edit box, so that i can later set the value of the edit box (parameter). the edit box should be a QLineEdit, correct? propably not, because everything in the API is really awkward. 2) i wanted to solve problem 1) with the following attempt. get cursor position, get param window, loop over the children and check over which child the cursor is located. Okay my test code gets the param widget and then tries to get the children. it has a QVLayoutBox as a direct child. but the QVLayoutBox is empty ???? why? how can I access the childrens? import shiboken2 import PySide2.QtWidgets as qtw from PySide2 import QtGui as qtg app0 = qtw.QApplication.instance() #widget = app0.widgetAt(qtg.QCursor().pos()) allWidgets = app0.allWidgets() for w in allWidgets: if w.windowTitle() == "parmdialog": parmWidget = w print "found" break vlbox = parmWidget.children()[0] print vlbox.children() #why is the count 0 ???? Hope someone can help me. Thanks!
  3. some UI scripting questions

    There exist two Expression functions mousepane and mousepath. How can these be used within python? The functionality should be covered in hou.PathBasedPaneTab. But I cannot find any corresponding function. My goal is to get the parameter (in parameter editor) under the mouse pointer.
  4. Code behind a menu item

    Thanks, will use this.
  5. Code behind a menu item

    For example if you click on a gizmo and rightclick. Then there is a menu item "pivot mode". The goal is to get the code for this, because i want to switch to the pivot mode within a python script. Would be easy if the execution would be logged.
  6. Code behind a menu item

    Thank you. Unfortunately they log only performance things, and not the executed code. This with the shell and code of the tools I know already, but this does not help with a menu. Perhaps there is somewhere python code in the installation folder which belongs to the menu items? Did not find anything sadly.
  7. Code behind a menu item

    Hi, in many 3d apps, there is an execution log which displays the commands which are executed when for example a menu item is executed. Seems that houdini does not have this (which is a big oversight by the way). Are there any other ways to know the code which is executed when a specific menu item in houdini is clicked? For example when I right click on a gizmo and select pivot mode. what python code is the equivalent of this? Thanks.
  8. some UI scripting questions

    Can no one help? Any hints? Thank you.
  9. some UI scripting questions

    Hello, I want to build an UI plugin for houdini. Can you help me with some things: how do I change a parameter of the selected node in the parameter window programatically (for example parameter distance of the extrude node)? There must be a setter function which gets the specific path to the parameter and sets the parameter I guess?! get the parameter edit box under the position of the mouse (if one navigates to an edit box) or the unique path of the parameter under the mouse? set a global mouse hook (global in the sense that it gets all events of the houdini main UI)? Would be cool if someone could name some python objects which will help me. Preferable python+pyside. Thanks!
  10. Modeler 1.0

    this must be from the old version. by the way, you can extend the menus yourself, which is handy.
  11. 3ds max houdini engine normal user

    okay, this seems really strange now. when i start the session right after starting max (clear scene) it works. but when i start the session after loading a scene, it will not work! so now as a workaround: start a session directly after starting up max and load then your scene. really awkward.
  12. 3ds max houdini engine normal user

    really strange. it does not make any difference when i clear the houdini env. not sure why houdini engine cannot open the pipe, when opened with a normal user. thank you.
  13. 3ds max houdini engine normal user

    Do you have the same settings like me (especially this "Out of Process" setting)?
  14. 3ds max houdini engine normal user

    hmm interesting. Did you install 3ds max in normal folder (C:\Program Files\Autodesk\3ds Max 2020\)?
  15. Modeler 1.0

    the zone menu is called with the Z key. with the new version, there is a smaller zone menu. it is now splitted. press P, J, Q and so on for the others. press space for a list of the most commands. (but of course you must press "Edit Mesh" button in the modeler menu.
×