Can formulas for dynamic components be cleared into formula results?

Hi guys, I’m using .set_attribute(dict,‘test’, ‘100’) as well as set_attribute(dict,‘_lenx_formula’, ‘100’) to assign the value of test to lenx, but lenx now becomes a formula, which results in a scaling operation on the component Invalid, is it possible to have another operation that transforms him into the result of a formula instead of a formula?

lenx
imstead

Sorry, I’m a little confused.

In the end, I gave up on this idea and had to use scaling to set it on the component, and then I had the next problem, the newly created component has no dynamic component related properties, so how do I get the value of lenx at this point?

He means …

… set the value 100 to the lenx attribute proper, … not the _lenx_formula attribute.

1 Like