I'm struggling with a very similar issue.
I have a textfield and a 2D symbol. The textfield shows the hight (z-coordinate).
So it's basically a cross in form of an 2D symbol and next to it, there's the textfield with the numbers. It's a classical example of showing highpoints in 2D like anno 1864.
What i need is a script which takes first the x- and y-coordinate from the textfield.
Then takes the content from the textfield and converts it into the z-coordinate.
And then I want to convert the textfield into an intellegent object like the focus points.
is there a way to modify the script of kduncan? or should i start from the beginning?