Update knob/fader pointer from another widget

Hi,

I made a knob which has a hidden menu-button underneath as shown in the picture below. The menu has presets of dB ranges. When I hit the button, I've managed to set the value & update my custom HTML text in the middle of the knob, however I can't figure out how to update the pointer of the knob. Is this possible?
image

image

On the actual fader, the pointer at -9 should be more towards the middle as shown below, but my menu isn't sending the updateProp correctly as I'm not sure who to reference?
image

I've tried the following with no success:

  updateProp("cubase_controlRoomFader", "design")
  updateProp("cubase_controlRoomFader", "pips")
  updateProp("cubase_controlRoomFader", "dashed")
  updateProp("cubase_controlRoomFader", "angle")
  updateProp("cubase_controlRoomFader", "mode")
  updateProp("cubase_controlRoomFader", "spring")
  updateProp("cubase_controlRoomFader", "doubleTap")
  updateProp("cubase_controlRoomFader", "range")
  updateProp("cubase_controlRoomFader", "logScale")
  updateProp("cubase_controlRoomFader", "sensitivity")
  updateProp("cubase_controlRoomFader", "steps")
  updateProp("cubase_controlRoomFader", "origin")
  updateProp("cubase_controlRoomFader", "value")
  updateProp("cubase_controlRoomFader", "knob")
  updateProp("cubase_controlRoomFader", "Knob style")

Cheers,
DMDComposer

Setting the knob's value (using set) should make the knob redraw accordingly, no need for calling updateProp().

1 Like

Ahh thank Jean. I was trying to use set and realized after you told me to use set, that another function of mine was sending a string instead of a number. Thank you for pointing me in the right direction.

Cheers,
DMDComposer