Hello there,
I'm very new to python.
I was wondering is there python command/function/method to focus on the node in Network Editor?
Thanks for any suggestions,
Mikhail
Python, focus on the node command? ("G" shortcut by default)
2195 4 2- mikhail s
- Member
- 46 posts
- Joined: March 2015
- Offline
- Jonathan de Blok
- Member
- 253 posts
- Joined: July 2013
- Offline
- mikhail s
- Member
- 46 posts
- Joined: March 2015
- Offline
Hey, thanks for the reply!
I'm sorry for being not very clear.
Methods you provided are probably about selection operations.
What I mean by focusing is to get Network Editor view being focused/framed on the selected node.
It's “G” short cut by default.
I need the same behavior but operated by python command.
I'm sorry for being not very clear.
Methods you provided are probably about selection operations.
What I mean by focusing is to get Network Editor view being focused/framed on the selected node.
It's “G” short cut by default.
I need the same behavior but operated by python command.
- animatrix_
- Member
- 4516 posts
- Joined: Feb. 2012
- Offline
Hi,
You can use frameSelection() function:
https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html [www.sidefx.com]
You can use frameSelection() function:
https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html [www.sidefx.com]
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | animatrix2k7.gumroad.com
- mikhail s
- Member
- 46 posts
- Joined: March 2015
- Offline
-
- Quick Links