V8. Document user text issue

Hi All,

Copy-pasted a Text object from one document to another.

It refers to a Document user text. This text was also recreated in the new document.

Despite the formula is the same, it doesn’t work for the new doc. But it still works in the source document.

Are there any limitations or under the hood connections that are the obstacles for copy-paste such text objects with formulas?

Does anybody see any similar issues? The sample file is attached.

123.3dm (40.2 KB)

Is the user text in the source document 110.8?
It seems that the formula should use ‘float’ instead of ‘int’.
%<float(DocumentText("Front mass"))*2>%g

Hi @Alain ,

Thank you for pointing this out. My bad, the number in working case was integer.

Everything works now, thank you!