INcModel::ExecutePostToAllNcProcedures

Description

Allows the user to receive information about results of batch executions via the API in a log file. This functionality enables the user to see the status of the job without opening the .elt file, and then proceed to the post processing stage.

Syntax

OutputFileName = ExecutePostToAllNcProcedures(iPostName, iOutputPath, iStartHome)

Input: (String) iPostName

If you work with GPP or GPP2 you have to supply only the name of the post and the post files needed to be in the Post directory (if you supply the full path, the file name is taken from the path).

Input: (String) iOutputPath

The path name of the directory to contain the output files.

Input: (Variant) iStartHome

A variant to three doubles XYZ.

Return: (String)

The full path name of the created output file. The name of the log file is ncapilogfile.log, and it is located in the folder: ...\Cimatron\Data\.
The log file contains:

  1. The .elt name

  2. The execution status for each procedure (In procedure No. "proc_num" "proc_name" in Toolpath No. "tp_num" "Tp_name"):

    1. Success, execution ended successfully.

    2. Warning, for a procedure whose execution ended successfully but without motions (empty toolpath).

    3. Error, interrupted procedure.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.