Erik Kostson
Ansys Employee
Hi

There are probably many ways of doing this but here is an overview of one (we can not provide any scripts or more details):
(APDL commands in APDL or as a APDL command snippet in Mechanical)
Use *get to get maximum nodes in the model
*do, to loop over nodes and obtain the maximum strain and at which node (say called my_nmaxEPTE) this occurs
Finally do *get to get the maximum stress at the node found in previous loop e.g., the VM stress there would be:
*GET,my_nmaxS,NODE, my_nmaxEPTE,S,EQV

Search the forum, the internet and the help manual for more info on *GET and *DO and *IF.

All the best

Erik