scripting to read data element by element (or node by node)

Hi,

i am not an experience one to abaqus scripting. i have written a few program with the help of user manual. now i have to write a program. in this program, i need to do calculation element by element. for eg. model has 500 elements. i have to get Cprss and Carea of element. then i multiply CpressXCarea X (distance of each elements from model zero). each element has different distances. to read element Cpress i wrote,

Cpreess1 = session.odbs['F:/temp/ST-1.odb'].steps['Step-load'].frames[6].fieldOutputs['CPRESS ]value[80]

here 80 is an integration point number. initially when i wrote this, my program showed cpress of 81 elements. but when i changed mesh in the model several times, i realized that there is no correct relation ship between element label and integration point. when i checked the program, early command now gives stress of element with label 423 eventhough integration point number 80.

can anybody suggest me better method of way to make relationship between element label and integration point number. my model has only C3D8R elements.