Python Remote scripting

I want to retrieve a list with boreholepolygons and such model attributes related to soil geometry with bounding-box dimensions using Python. in addition, is there any way to get exact coordinates of boreholespolygons?