Abaqus scripting for reading node labels

  • this question regard to Abaqus scripting. could somebody help me to continue my program. i wrote scripting to read element label.  after i get the element label, i want to get the nodes' labels of specific element.
  • for eg. i wrote                 
  • S1=odb.steps['Step-load'].frames[6].fieldOutputs['S'].values[500]       
  • elNum= S1.elementLabel                                             
  • after i want to know nodes of element elNum.
  • here elNum=501