Hello,
Not sure if this is the right forum, but it did say Technical Discussion...
I am revamping my python production sourcing environment to work with Houdini 21. I currently have a way to pre-generate a <menuItem>.xml file, but its a bit complcated as I store some of the pull down menu building inside of my python modules ( ie build the sub-pull down menu as I source the individual .py scripts ), so need a tool to re-parse/edit/insert .xml sub-menu items as I go.
Alternatively, I do see Houdini 21 exposes Pyside 6, but not sure if this is a viable/solid mechnaism I should tie to my Houdini initialization routine ???
So my questions are...
1- Using Houdini 21 Indie, should I stick to building an .xml menuItem file, having to deal with adding to the file as I source each .py file, or go the way of trying to implement a Pyside6 top level pull down menu ?
2- is there any good simple python/Pyside6 example that shows how to do this as sell as query pulldown menus/parent menu/info so I can find/query/list menu items ? Or better yet, is there any python wrapper in the hou object so I could implement once, and not have to worry about future-refatcoring ( with new version of Pyside ) ?
Again any help, hints are welcome.
Build top level menus as .xml file of Pyside6 ?
153 0 0-
- turbolinea
- Member
- 5 posts
- Joined: 10月 2010
- オフライン
-
- Quick Links