Abaqus Python XypError: XYPlot 'XYPlot-1' already exists and cannot be overwritten.

Hi,

I run Abaqus Python code to extract the same parameter from different ODB files.

The first code runs well, get the data.

The second code has "XypError: XYPlot 'XYPlot-1' already exists and cannot be overwritten." after the line "xyp = session.XYPlot('XYPlot-1')"

 

If I close Abaqus and re-open it again, the second or first or third runs well.

How to clear/reset/remove "XYPlot" or "XYPlot('XYPlot-1')"  to run the second code without the error "XypError: XYPlot 'XYPlot-1' already exists and cannot be overwritten." 

 

Best regard,