Diffraction pattern from a grating

hello ,
Is there any way to obtain the diffraction pattern obtained from a grating.

Dear @ph16mscst11007,

The answer to your general question is yes.
I think that it is in the knowledge base pages:
https://kb.lumerical.com/en/solvers_far_field_projections.html
https://kb.lumerical.com/en/solvers_grating_projections.html