When you are making your own tools in Houdini, building menus dynamically can be very useful. There is a bit of coding needed so I've included the project file to make it easier to follow along.
Get it here:
http://shortandsweet3d.blogspot.com/2019/09/building-menus-dynamically-in-houdini.html