User's Guide > Core: Utilities > Current Directory
Current Directory
 
Functions Introduced;
ProDirectoryCurrentGet()
ProDirectoryChange()
These two functions are concerned with the current default directory in Creo Parametric—the one in which it searches when you retrieve an object, for example. The Creo Parametric user changes this directory using the command File > Manage Session > Working Directory.
The function ProDirectoryChange() enables you to do the exact equivalent of File > Manage Session > Working Directory in Creo Parametric. Use this function if you need to save and retrieve objects in a directory other than the one the user chose.
The function ProDirectoryCurrentGet() returns the whole path to the directory, as a wide string.
這是否有幫助?