In the Network Editor we can press F2 and rename any node. How can we trigger that state with Python? And while at it, programmatically input some text?
I'm trying to code a snippet which starts editing a node's name, inputs a prefix, and the user is supposed to finish the name and confirm.
How to enter name editing state (F2) of a node with Python?
786 2 2-
- alexmajewski
- Member
- 109 posts
- Joined: Aug. 2017
- Online
-
- vikus
- Member
- 247 posts
- Joined: May 2017
- Offline
https://www.sidefx.com/docs/houdini/hom/hou/NetworkEditor.html#standard-menus-and-editors
As long you use a prefix you could set the nodes name before using openNameEditor.
As long you use a prefix you could set the nodes name before using openNameEditor.
Edited by vikus - Feb. 1, 2025 07:53:36
-
- alexmajewski
- Member
- 109 posts
- Joined: Aug. 2017
- Online
-
- Quick Links

