Kyle
Ansys Employee

Yes, you should be able to use a script to find the z location of the max intensity with the "find" script command. The "find" script command page has an example script that shows how to find the location of the maximum intensity:
If you are new to using our scripting language, I would recommend that you first take our online scripting course for an introduction to scripting: