API-Dokumentation > Miscellaneous > Object ProCurrent > Function ProCurrentWorkspaceExport
Function ProCurrentWorkspaceExport
Description
Export specified objects from the current workspace to a disk in a linked session of Creo Parametric. Can be called only when there are no objects in session (see error status descriptions). The specified objects may be exported along with all or required by Creo Parametric dependents (recursively), according to a specified dependency criterion. All problems (warnings, conflicts or errors) of processing individual objects are logged in proimpex.errors file created in the Creo Parametric run directory. In addition, warnings and information messages are logged in proimpex.log file.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWorkspace.h>
ProCurrentWorkspaceExport
(
/* (In)
the dependency criterion,
*/
wchar_t** source_objects
/* (In)
a ProArray of names of objects to export,
*/
ProPath target_path
/* (In)
the export target directory.
*/
)
Returns
all the specified objects and their specified dependents have been processed; proimpex.errors still to be checked for possible problems with individual objects
one or more arguments was invalid
cannot export because there are objects in Creo Parametric session
no workspace registered as current (or non linked session)
bad or inaccessible target_path
an error caused the entire operation to fail.
User Guide References
War dies hilfreich?