I'm building an HDA that operates on points. For many of the operations we perform on points, we are thinking that it might be helpful to multiply the parameter values by an attribute found on the points. We were thinking it might be useful to place a checkbox next to each float attribute and give the user the ability to check it and then type in the name of the point attribute that they want the value to be multiplied by for each point. Here's an example with two parameters:
In my mind, this sounds kind of like how classes in object oriented programming can have attributes and functionality that are common to each of them. Is there a way I can do something like this in Houdini programmatically, without having to add all of these checkboxes and string attribute boxes one at a time?
Thanks!
Anson