Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlDirectoryPathGet


Description
Retrieves path to the directory where the model will be saved. It is the target (not origin) home directory of the model.
Synopsis
#include <ProMdl.h>
ProErrorProMdlDirectoryPathGet(
ProMdl handle
/* (In)
The model handle.
*/
ProPath dir_path
/* (Out)
Path to the directory where the model will be saved.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_GENERAL_ERRORThe information could not be obtained.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Models and Model Items: Identifying Models
  3. Core: Models and Model Items: Identifying Models
  4. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  5. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions

Sample Code References:

  1. pt_examples ( UtilVisit.c )