Thanks for the help, ive hooked this up. Create dynamic material instance with the parent being my material (not instance ) then exec set scalar parameter value to my material parameter name, then the value is set to an editable float variable.
But when i increase the spinner value in view port nothing actually changes.