Category Creo Parametric fundamentals, Object ProDirectory

Function ProDirectoryCurrentGet


Description
Gets the absolute path name of the current working directory for Creo Parametric.
Replacement in Object TOOLKIT: pfcBaseSession::GetCurrentDirectory
Synopsis
#include <ProUtil.h>
ProErrorProDirectoryCurrentGet(
ProPath path
/* (Out)
The absolute path name of the current working directory
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_E_NOT_FOUNDThe function was unable to find current working directory.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Utilities: Current Directory
  3. Core: Utilities: Current Directory

Sample Code References:

  1. pt_af_examples ( PTMfgTemplateBOM.c )
  2. pt_examples ( TestAsm.c )
  3. pt_examples ( TestDrwView.c )
  4. pt_examples ( TestMain.c )
  5. pt_examples ( TestMain.c )
  6. pt_examples ( TestCavityLayout.c )
  7. pt_udf_examples ( PTUDFExUDFLibraryEdit.c )
  8. pt_userguide ( UgAsmcompConstraint.c )
  9. pt_userguide ( UgDrawingViews.c )
  10. pt_userguide ( UgXMLFeat.c )
  11. pt_userguide ( UgMaterial.c )
  12. pt_wc_server ( PTWCServerPartToPView.c )
  13. pt_wc_server ( PTWCServerUpdateDXF.c )