Search - User list
Full Version: visualizer with a shortcut
Root » Houdini Lounge » visualizer with a shortcut
kahuna031
Testing out the new network customization tools [www.sidefx.com] with attaching a shortcut to create a visualizer.

Drop nodegraphhooks.py file in $HOME/houdini16.5/python2.7libs/ select a sop node with an attribute other than P and press shift-x.
CYTE
Thanks a lot!
this is super handy!
Cheers
CYTE
martinkindl83
do you have to assign the shortcut or something?
I cant make it work.
kahuna031
Nothing else needed than H16.5. Have you assigned shift-x to something else? Changed your python environment somehow? If you type this in a python terminal you can test if the file is accessed:
import nodegraphhooks
reload(nodegraphhooks)
martinkindl83
I might be doing something wrong then
martinkindl83
this is my shortcuts
kahuna031
Put it in C:\Users\'your user name'\Documents\houdini16.5\python2.7libs
Your hotkey setup looks identical to mine.
martinkindl83
thank you, that works

viewport doesnt update, but toggling visualization icon, does the trick

Very handy script
martinkindl83
what about adding list box, if attribute should show up as vectors or numbers?
kahuna031
martinkindl83
viewport doesnt update, but toggling visualization icon, does the trick
That's a Houdini bug. I got that and other display issues when creating visualizers through the gui too.
martinkindl83
what about adding list box, if attribute should show up as vectors or numbers?
Yeah, would be nice with options for that. Problem is, then I need to write my custom gui and that might not update very well between Houdini versions. Another solution would be to bring up the settings window for the visualizer but I don't know if that's possible.

For now I'll change it so that it defaults to text if it's not a vector attribute.
martinkindl83
Thank you for explanation.
Makes total sense about the custom gui. Defaults you suggested sounds good.
kahuna031
martinkindl83
Defaults you suggested sounds good.
I updated the original attachment to have this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB