@rakesh_krishna,
Have you tried running the script from the Lumerical CAD > Script file editor window with the Python integration shown as "Active"?
Please Login to Report Topic
Please Login to Share Feed