I read from an old post that it is not possible to select modes by scripting. I have tried to insert the below commands in my script and it gave me wrong result. But, when I execute the same commands in the command window, it gives correct mode index. My question is that is there any way to select higher order modes by scripting. I am sweeping some parameters so manually selecting modes is really cumbersome.
neff_source = getresult("“mode source”, “neff”);