Hello!
I would like to be able to hide and show a custom set of tools, with either a button, a menu option or something similar.
I was wondering if it is possible, with either hscript or python to:
1) hide shelves from the shelf menu
2) hide shelf tools from the tab menu
For the shelf tools question, I know that I can remove the locations for a shelf tool, `tool`, like:
```
tool.setToolLocations(())
```
But its not a very elegant solution (say, compared to NodeType.setHidden()) and requires me to reset the locations passing back the original locations of each shelf tool (which means I need to keep track of that somewhere other than my shelf definition). So if there was a simpler or cleaner way to do this, I would be very happy to know of it.
As for the shelves, I'm pretty sure there is no way to mess with the shelf menu from within a houdini session (save destroying the shelf, which I do not want to do).
It could be that what I am trying to accomplish is not really possible, but I figured I would ask as I wasn't able to turn up anything from the documentation for Shelves or Shelf Tools or Menus respectively.
Thanks,
Jordan
Hiding shelves and shelf tools live
1979 1 1-
- jordanlearnsthings
- Member
- 4 posts
- Joined: April 2019
- Offline
-
- jordanlearnsthings
- Member
- 4 posts
- Joined: April 2019
- Offline
-
- Quick Links
