being able to directly call a function from a pulse parameter would be a great time saver. We could have an extra field in the parameter dialog editor called “python execute”.
Having to go between the parameter editor and a parameter execute DAT begins to feel like a lot of double work.
I know I can just do something like this:
def onPulse(par):
method = getattr(parent(), par.name)
method()
But then I need to start naming all my functions without camel case, which doesn’t feel quite right.
Or this
Other option would be to just allow custom fields per parameter.