GetTessellationQuality Method - Macro

hello

I would like to run this macro. Unfortunately it is not possible for me to write this macro. Does anyone have a sample to this macro command.

I would like to get the image quality.