I am encountering some strange behaviour. When I resize a component instance, the LenX is scaled correctly, however, the underlying lenx attribute of the ComponentInstanc is not updated. Only when I type the required length in the options window, the attribute gets updated.
Can someone explain this behaviour and give me a proper way how I should use this to have no mismatch with the actual length visible and the one I read with Ruby in the dynamic_attributes dictionary?
I have created 2 mimimal examples.
BlockA is just a simple component with only LenX editable. -> scaling works, but lenx is is not updated
Block B is the same as BlockA, but the LenX is defined as a custom attribute Length. -> lenx is updated, but scaling is not possible anymore.
What should I do to let scaling work and make it possible to edit the length attribute in an options window or via the ruby api?