QSlider driving custom attribute or morpher channel attribute | 3ds Max and Python/Maxscript


Out of curiosity, I was wondering how one would go about driving a custom attribute or morpher channel attributes using PyQt’s (or Pyside2) QSlider class. I’m sure most would use whatever Maxscript has to offer but for pipeline purposes, I’m hoping there’s a solution. Also, it doesn’t have to have undo/redo functionality or any other complicated features, just looking to drive/connect as if we were using parameter wires.