hexagon logo

How do I access the raw string for a runtime function?

Say I create a new run-time variable:
data_element create variable variable_name = VAR_A function = "STEP(TIME,0,0,1,1)" initial_condition = 0
 
How do I then retrieve the text of the function for design-time manipulation?
In the builder, (VAR_A.function) simply returns the object .MODEL_1.VAR_A.
 
I've found this to be true for all run-time functions which are defined using a string, such as VForces, Sforces, etc. I don't see anything else in the object browser for the variable that return its function string. I realize the workaround is to export the whole model as a cmd file, do my modifications using external software, and then re-import, but I'd rather do something a little more elegant.