Following the suggestion about using Python with POP from (last message) :
I am trying the following (sharing a code snippet) :
# Open file
TheSystem.LoadFile('locally stored file', True)
my_pop=TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.PhysicalOpticsPropagation)
print(my_pop.HasAnalysisSpecificSettings)
# Access the settings interface for the Physical Optics Propagation analysis
my_pop_settings = my_pop.GetSettings()
settings = my_pop.GetSettings().__implementation__
settings.GetParameterName(1)
settings.BeamType = ZOSAPI.Analysis.PhysicalOptics.POPBeamTypes.GaussianWaist
settings.SetParameterValue(0, 2.5)
I don’t get any error, however SetParameterValue(0, 2.5), doesn’t reflect the change made to 2.5 for Waist X.
Can you please help me spot the error here?