Lito Yap
Ansys Employee

@rakesh_krishna, 

Have you tried running the script from the Lumerical CAD > Script file editor window with the Python integration shown as "Active"?