✅ Solved: Set the artboard's width and height via data binding

Hi!
I’m trying to set artboard’s width and height dynamically in the runtime via data binding.
i’ve create a couple of variables (width_string(type string) and width_number(type number)) and binded them to the artboard’s width and tried to change those vars in the runtime (react app in my case).
None of those vars worked for me. It looks like I am missing smth here. Does anybody know what is the right way to do it?

for example like this:

 const { setValue: setArtboardWidthNumber } = useViewModelInstanceString(
    'width_string',
    viewModelInstance
  );
  setArtboardWidthNumber('1600');

I also tried to apply a

converter during the bind, but that did’t work for me too. (I guess this converter is prebuilt, as i couldn’t change it).

ps. the same question for origin x and y (which are in %). I’m confused how to set them