Is it possible?
I can't find any python function to insert maybe in the 456.py script.
Any help is appreciated
Customize the Title Bar
1287 6 0-
- wlvl_gv
- Member
- 11 posts
- Joined: April 2022
- Offline
-
- l_s_galante
- Member
- 14 posts
- Joined: Jan. 2021
- Offline
I am assuming that you mean the main menu bar, which contains the file, edit sub menus etc.
It is done using a file named MainMenuCommon.xml in an hpath directory.
The documentation page is here: https://www.sidefx.com/docs/houdini/basics/config_menus.html [www.sidefx.com]
With this file you can add, remove and modify menu items which are defined in the default MainMenuCommon.xml file which can be found among the other default resources in the HFS.
It is done using a file named MainMenuCommon.xml in an hpath directory.
The documentation page is here: https://www.sidefx.com/docs/houdini/basics/config_menus.html [www.sidefx.com]
With this file you can add, remove and modify menu items which are defined in the default MainMenuCommon.xml file which can be found among the other default resources in the HFS.
-
- wlvl_r
- Member
- 10 posts
- Joined: Oct. 2021
- Offline
-
- Heileif
- Member
- 219 posts
- Joined: Jan. 2015
- Offline
-
- l_s_galante
- Member
- 14 posts
- Joined: Jan. 2021
- Offline
wlvl_r
Hello l_s_galante,
thanks for the reply. My bad I've not being clear enough.
I mean the title bar where
untitled.hip - Houdini FX 20.5.332 - Py3.11
is written
You know, I realized this a little while after I responded. Yes, you can change the title bar, with limitations.
As is the case with most qt functionality, it is not in the documentation.
This is using the Qt5 build on macOS so it may be different for you.
The command is: hou.qt.mainWindow().setWindowTitle("title bar title")
However, running this in the python shell will cause the program to hang. It must be run using a $HFS/pythonX.Ylibs/uiready.py file.
My hope, but not my expectation, is that qt6 builds of houdini will have greater ability to handle pyside6 functions.
-
- wlvl_r
- Member
- 10 posts
- Joined: Oct. 2021
- Offline
-
- animatrix_
- Member
- 4845 posts
- Joined: Feb. 2012
- Online
I did the same thing before, it comes in handy with multiple sessions.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Quick Links