But help me to understand,
why it is not possible to use LM:SETDYNPROPS
to set the value of more the one properties, at the same time,
without finding this kind of problem ...
The reason is because the
"text-position X" dynamic parameter is encountered
before the
"distance-p1-p2" dynamic parameter in the list of objects returned by the
getdynamicblockproperties method, and your dynamic block has a polar stretch action associated with the
"distance-p1-p2" parameter which will affect the position of the text object.
Hence, the function will set the value of the
"text-position X" parameter first, and then when the value of the
"distance-p1-p2" parameter is modified, the value of the
"text-position X" parameter is also changed by the actions associated with the
"distance-p1-p2" parameter.
You can observe the same result in your most recent code by changing the order in which the parameters are modified.