NXOpen.UF.Ui.SelectTcResultFileToImport

Ui.SelectTcResultFileToImport()

Refer to UF_UI_select_tc_result_file_to_import for documentation.

Signature: SelectTcResultFileToImport(fileExtensions, numExtensions)

Parameters:
  • fileExtensions (list of str) – Caller has to supply the list of file extension strings. The elements of the list will decide which type of the files need to be displayed in the selection dialog box for selection. The string extension of the result file which needs to be displayed should in the format “.XXX”. E.g “.prt”, “.sim”, “.dat” etc.
  • numExtensions (int) – The variable will provide the size of the file extensions list.
Returns:

A Tuple

Return type:

A tuple consisting of (filename,response)

filename(list of str): Caller has to select the desired result file from the selection dialog to enable the OK button to finish the selection operation. All the filtered result files of the part under investigation will be desplayed for selection. It is caller’s responsibility to allocate enough memory for the filename string.

response(int): UF_UI_OK: OK was selected UF_UI_CANCEL: CANCEL was selected

License requirements: None