How to selectively pass values to only some parameters of a function?
I am looking for a way to selectively pass values to some of the parameters of a built-in function(of lumerical script language), and let other parameters use their default values. For example, 'farfield3d' has the following syntax:
out = farfield3d("mname",f, na, nb, illumination, periodsa, periodsb, index, direction); [https://support.lumerical.com/hc/en-us/articles/360034930693-farfield3d-Script-command]
I want to use the first 4 and last one parameters(i.e. "mname",f,na,nb and direction) and let the remaining parameters use their default values. But I do not understand how to skip these unnecessary parameters. I tried to use something like:
out=farfield3d("mname",f,na,nb,direction=direction_val); but that didn't work.
Any help is highly appreciated.