StartExportFromWorker
Description
This function retrieves and displays the given model in the Creo session and exports a 2D PDF file to the path specified via option “OUTPUT_PATH”. To use the working directory set the value “$(Workdir) for this option.
The PDF will contain all combined states that are defined in the batch group.
Synopsis
Input arguments
Label
Use
Value Type
Value
MDL_NAME
Required
wchar_t*
Name of the model/drawing without file extension.
MDL_TYPE
Required
wchar_t*
Type of the model. Provide
  • “1” for assemblies
  • “2” for parts
  • “4” for drawings
Output arguments
Label
Value Type
Value
None
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input argument is invalid.
PRO_TK_GENERAL_ERROR
Miscellaneous error. Check log file for further information.