Category Creo Parametric fundamentals, Object ProPath

Function ProPathCreate


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProPathMdlnameCreate
Description
Note: This function is deprecated Use ProPathMdlnameCreate instead. Builds a path, given its components.
Synopsis
#include <ProUtil.h>
ProErrorProPathCreate(
ProPath path
/* (In)
The directory path. This argument is optional (can be NULL).
*/
ProName file_name
/* (In)
The file name. This argument is optional (can be NULL).
*/
ProName extension
/* (In)
The file extension. This argument is optional (can be NULL).
*/
int version
/* (In)
The file version. This argument is optional (can be PRO_VALUE_UNUSED).
*/
ProPath r_file_name_w_path
/* (Out)
The full file name, composed of the path, name, extension, and version.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully built the path.
PRO_TK_BAD_INPUTSThe specified file name was invalid.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Technical Summary of Changes for Creo 4.0 F000: File Handling