RoadElement Curve {.~1|.}~1

All topics on the Atoms in any Enterprise Dynamics Library.
Post Reply
reinerbuhl
Posts: 1
Joined: Wednesday 18 December, 2013 - 13:05

RoadElement Curve {.~1|.}~1

Post by reinerbuhl »

During working with ED (TransSim-Node kit), some RoadElement curves overwrite the code I entered in the "send to" field with the following: {.~1|.}~1
What is wrong there?
After that happens once, I am not successfully able to change the code.
User avatar
Markus Holzner
Posts: 21
Joined: Thursday 20 January, 2011 - 13:31

Re: RoadElement Curve {.~1|.}~1

Post by Markus Holzner »

That can happen indeed when using 4DScript (4DS) code consisting of multiple lines and/or comments within.
This is a known problem for SmartEditField GUI components like the "SendTo".
Because of its smart features, the comments for example are lost when coding 4DS.

As a workaround (for substantial code) I would suggest to put the code in a function (using the function editor atom or atom editor) and use that function within the "SendTo"
Post Reply