How to Solve RhinoWIP rs function has No attribute ModelAbsoluteTolerance

Sorry,i’m a newer to RhinoWip,here is my problem.
When i use rs.addPolyLine in Script Editor, it comes the AttributeError:no attribute ‘ModelAbsoluteTolerance’. It seems that ghdocument has no attatch to the rhinodoc?
so what should i do if i want to use rs function in the Script Editor?

import rhinoscriptsyntax as rs 
polyline1 = rs.AddPolyline([(0,0,0),(10,0,0)]) (2.5 KB)

@eirannejad Can you help here?