Category Manufacturing, Object ProMfg

Function ProMfgProctableVisit


Description
Visits the steps, operations and workcells in the manufacturing process table.

Note: The steps and operations will be visited in the order that they are listed in the table.

Licensing Requirement
TOOLKIT for Advanced NC
Synopsis
#include <ProMfgproctable.h>
ProErrorProMfgProctableVisit(
ProMfg mfg
/* (In)
The manufacturing model.
*/
ProMfgproctableType table_type
/* (In)
The type of table to visit.
*/
ProMfgprocitemVisitAction action
/* (In)
The visit action.
*/
ProMfgprocitemFilterAction filter
/* (In)
The filter action. Can be NULL.
*/
ProAppData app_data
/* (In)
Application data passed to the action functions. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_CANT_ACCESSAccess to the manufacturing process table is not enabled, use ProMfgProctableEnable().
PRO_TK_E_NOT_FOUNDNo steps were found in the manufacturing process table.
Any other valueThe error condition returned by the visit action, which caused the function to stop visiting.

Manual References:

  1. Production Applications: NC Process Manager: Visiting Steps, Operations and Workcells
  2. Production Applications: NC Process Manager: Visiting Steps, Operations and Workcells

Sample Code References:

  1. pt_mfg_proctable ( PTMfgProcTable.c )