EXTRACTING DATA FROM SOURCE OBJECT USING SCRIPTING

I am working on normal stripe waveguide , and want to find out the single mode condition. the method explained in given linkhttps://kx.lumerical.com/t/sweep-to-obtain-geometry-with-number-of-modes/975 is for mode solution , where as I am using FDTD solution. Is there a way to extract neff from the source object using scripting and doing something similar as explained in above reference.

Dear @rsharma

Yes, you can.

n = getresult("source","neff");