hexagon logo

VB Script, Using PutText to enter an expression

I want to write a script that can modify the THEO and TARG values of a feature to be an expression, such as "1+0" or "2*VX+4". So far I can change the values to other values but if I give it an expression it always seems to evaluate it first and insert the result rather than the expression itself.

Not sure if what I want to do is possible but after scouring the forum for any examples I am sure that if it is possible someone on here will know how to do it.
Parents
  • I don't have a wild clue how all this Python stuff works but it has my attention. I have been going thru Mr. Al Sweigart's material "Automate the Boring Stuff with Python" so far I've learned to pull myself up to stand up but quickly fall back on VB.NET lol I hope to soon take baby steps to play on my own 2 feet with this new (to me) Python.
Reply
  • I don't have a wild clue how all this Python stuff works but it has my attention. I have been going thru Mr. Al Sweigart's material "Automate the Boring Stuff with Python" so far I've learned to pull myself up to stand up but quickly fall back on VB.NET lol I hope to soon take baby steps to play on my own 2 feet with this new (to me) Python.
Children
No Data