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...
1090 7 2-
- LukeP
- Member
- 350 posts
- Joined: 3月 2009
- Offline
-
- AslakKS
- Member
- 184 posts
- Joined: 2月 2016
- Offline
It's possible with a shelf tool:
![](/forum/attachment/8da078adc076f7bc9180a5ad3017df4c38987bf1/)
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"
![](/static/djangobb_forum/img/smilies/smile.png)
Edited by AslakKS - 2024年6月8日 16:26:16
-
- LukeP
- Member
- 350 posts
- Joined: 3月 2009
- Offline
-
- LukeP
- Member
- 350 posts
- Joined: 3月 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
- 350 posts
- Joined: 3月 2009
- Offline
-
- AslakKS
- Member
- 184 posts
- Joined: 2月 2016
- Offline
-
- RGaal
- Member
- 113 posts
- Joined: 6月 2024
- Offline
-
- AslakKS
- Member
- 184 posts
- Joined: 2月 2016
- Offline
-
- Quick Links