static Object GetRetrievableObject()
The return value is a reference to the object most recently passed to the method Runtime.SetRetrievableObject. If there is no object to retrieve, the return value is null.
None
This method returns a reference to the object most recently passed to the method Runtime.SetRetrievableObject. The method GetRetrievableObject clears the retrievable object memory. If your program calls GetRetrievableObject a second time, the return value will be null.
start CreatePlot( x, y );
declare ScatterPlot plot;
plot = ScatterPlot.Create( "Example", x, y );
Runtime.SetRetrievableObject( plot );
finish;
x = 1:10;
y = 1:10;
run CreatePlot( x, y );
declare Plot plot = Runtime.GetRetrievableObject();
plot.ShowReferenceLines();