Search the Community
Showing results for tags 'pane'.
Found 4 results
fell00 posted a topic in ScriptingHi, 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 press the hotkey and this works, getting the name of the panetab of the network editor under my mouse cursor. paneTabObj = hou.ui.paneTabUnderCursor() print paneTabObj.name() #prints panetab6 in my case I'm trying to find a way to get the network path of this network editor panetab. For example "/ob/geo1/subnet2/"
Hi there, in an everlasting effort to vimify my pc, I find myself wanting to cycle through the panes in the current desktop using shift+j or k, like you would see in a tiling window manager. For this to happen, I need to be able to set the currently "active" pane. In the python paneTab object, I see no method to do such a thing and I was wondering if I was missing something. Thank You My backup plan is to include this https://pyautogui.readthedocs.io/en/latest/mouse.html#the-screen-and-mouse-position and manually set the cursor position and emulate a click. As always, thank you for any help
I'm trying to get the full path to the parent node in the current paneTab under the users mouse. I'm currently doing the following to return the paneTab: pane = hou.ui.paneTabUnderCursor() I can get the current parent node with: pane.pwd() So if i'm in /obj/geo1/subnet1 this will return subnet1 but how do I get the full path? (/obj/geo1/subnet1)
trapsetter posted a topic in ScriptingHey guys and girls I'm very new to python and Houdini tool creation.This might turn out to be incredibly simple for you,I have a button that when click dives into my current digital asset my objective is to before diving to pin/lock/focuses the parameter pane that I clicked the button on(so the current node).I cant figure out how to use the classes Desktop,Pane,PantTab to do this to save my life. Am I simply approaching the problem wrong?I would greatly appreciate any help on this, Thanks in advance.Cheers!