This code shows the command to release RST file.
import mech_dpf import Ans.DataProcessing as dpf mech_dpf.setExtAPI(ExtAPI) # Open rst as STREAM (i.e. it will be kept open until released) data_sources = mech_dpf.GetStreams() # Release rst data_sources.ReleaseHandles()