Skip to main content

@David Nguyen  
below video with problem. in each window calculation maded 2 times. How this can reduce it to 1?

https://youtu.be/1cIMvsqjmDs

TheSystemData.Wavelengths.GetWavelength(2).Wavelength = wave_um

geometric_bitmap_analysis = TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.GeometricBitmapImageAnalysis)
geometric_bitmap_settings = geometric_bitmap_analysis.GetSettings()

geometric_bitmap_settings.ModifySettings(geometric_bitmap_settings_filepath, "GBM_OUTPUT", file_name)
geometric_bitmap_settings.LoadFrom(geometric_bitmap_settings_filepath)

geometric_bitmap_analysis.ApplyAndWaitForCompletion()

Ahhh, I understand what you mean now. Can you try with New_Analysis_SettingsFirst instead of New_Analysis?

Take care,

 

David


Reply