NXOpen.UF.Plot.CompareUghpglFiles

Plot.CompareUghpglFiles()

Refer to UF_PLOT_compare_ughpgl_files for documentation.

Signature: CompareUghpglFiles(firstPlot, secondPlot, compareOptions, resultPlot)

Parameters:
  • firstPlot (str) – Name of the first plot file (256 char max)
  • secondPlot (str) – Name of the second plot file (256 char max)
  • compareOptions (NXOpen.UF.Plot.UghpglCmpOptions Refer to UF_PLOT_ughpgl_cmp_options_s for documentation.) – Indicates options considered during comparison of plots.
  • resultPlot (str) – Name of resulting plot file. If created, this resulting plot file will contain the overlay of both plots. Lines that are the same in both plots will be in one color, lines that are in the first plot only will be in a second color, and lines that are in the second plot only will be in a third color.
Returns:

Comparison results: UF_PLOT_CMP_NO_DIFF_FOUND UF_PLOT_CMP_DIFF_FOUND

Return type:

NXOpen.UF.Plot.DiffCmpStatus Refer to UF_PLOT_diff_cmp_status_e for documentation.

License requirements: None