Is there a way to assign a keyboard shortcut to filter on non-default parameter values in the parameter window?
Thank you
Is there a way to assign a keyboard shortcut to filter on...
1214 7 2- LukeP
- Member
- 369 posts
- Joined: March 2009
- Offline
- AslakKS
- Member
- 185 posts
- Joined: Feb. 2016
- Offline
It's possible with a shelf tool:
Script code
Currently the hou.parmFilterMode... does not match up with the menu, so you need to use the "graph selected parms" for it to select "non-default parms" I'll submit a bug report for that.
Script code
paneTab = hou.ui.paneTabUnderCursor() if paneTab.type() == hou.paneTabType.Parm: paneTab.setFilterMode(hou.parmFilterMode.GraphSelectedParms) toggle = not paneTab.filterEnabled() paneTab.setFilterEnabled(on=toggle)
Currently the hou.parmFilterMode... does not match up with the menu, so you need to use the "graph selected parms" for it to select "non-default parms" I'll submit a bug report for that.
Edited by AslakKS - June 8, 2024 16:26:16
- LukeP
- Member
- 369 posts
- Joined: March 2009
- Offline
- LukeP
- Member
- 369 posts
- Joined: March 2009
- Offline
AslakKS
paneTab = hou.ui.paneTabUnderCursor()
if paneTab.type() == hou.paneTabType.Parm:
paneTab.setFilterMode(hou.parmFilterMode.GraphSelectedParms)
toggle = not paneTab.filterEnabled()
paneTab.setFilterEnabled(on=toggle)
So doesn't seem to work... I mean it filters, but not on 'parameters with non-default values'...
- LukeP
- Member
- 369 posts
- Joined: March 2009
- Offline
- AslakKS
- Member
- 185 posts
- Joined: Feb. 2016
- Offline
- RGaal
- Member
- 143 posts
- Joined: June 2024
- Offline
- AslakKS
- Member
- 185 posts
- Joined: Feb. 2016
- Offline
-
- Quick Links