Hi Mustaine,
Thanks for your reply.
I could now retrieve the displacement value.
I have written the follwing macro lines and its working:
xy = session.xyDataListFromField(odb=o1, outputPosition=NODAL, variable=(('U',
NODAL, ((INVARIANT, 'Magnitude'), )), ), nodeLabels=(('PART-1-1'...