Category Creo Parametric fundamentals, Object ProFile

Function ProFileMdlfiletypeSave


Description
Prompts the standard file browser interface of Creo Parametric. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProMdlFileName will be added in a future release.

For Multi-CAD objects, this function does not support local disk saving location in a Windchill connected session.

Synopsis
#include <ProUtil.h>
ProErrorProFileMdlfiletypeSave(
ProName dialog_label
/* (In)
The user-specified label for the dialog box. If this is NULL, the function uses the default label, "Save."
*/
ProMdlfileType* file_types
/* (In)
The user-allocated ProArray of file types. If NULL, the browser will show all files.
*/
ProPath* shortcut_path_arr
/* (In)
A ProArray of shortcut paths. Pass NULL to not supply shortcuts to the user in the dialog.
*/
ProName* shortcut_name_arr
/* (In)
A ProArray of shortcut labels that correspond to shortcut_path_arr. Pass NULL to not supply shortcuts to the user in the dialog.
*/
ProPath default_path
/* (In)
The default path to start browsing. If this is NULL, the function uses the current directory.
*/
ProMdlFileName pre_sel_file_name
/* (In)
If supplied and existing in the default file name this name is preselected. If this is NULL, nothing is preselected.
*/
ProPath r_selected_file
/* (Out)
The selected file.
*/
)
Returns
PRO_TK_NO_ERRORThe user selected a file and picked "Save".
PRO_TK_USER_ABORTThe user aborted from the user interface.
PRO_TK_NO_PERMISSIONThe function does not have permission to operate on this model.
See Also
ProArrayAlloc

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions
  3. Core: Utilities: File Handling
  4. Core: Utilities: File Handling
  5. Technical Summary of Changes for Creo 11.0.0.0: Updates to Error Types