Object ProMfgprocitem

Function ProMfgprocitemRedefine


Description
Redefines an existing manufacturing item using an element tree.
Licensing Requirement
TOOLKIT for Advanced NC
Synopsis
#include <ProMfgproctable.h>
ProErrorProMfgprocitemRedefine(
ProMfgprocItem* item
/* (In)
The manufacturing item.
*/
ProElement elem_tree
/* (In)
The element tree.
*/
ProErrorlist* errors
/* (Out)
Errors that prevented the redefinition from succeeding.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_FOUNDCannot redefine the item because the item has an associated feature. Redefine the feature instead.
PRO_TK_GENERAL_ERRORRedefinition failed. Consult the errors output for more details on the failure.
PRO_TK_CANT_ACCESSAccess to the manufacturing process table is not enabled, use ProMfgProctableEnable().

Manual References:

  1. Production Applications: NC Process Manager: Modifying Process Items
  2. Production Applications: NC Process Manager: Modifying Process Items

Sample Code References:

  1. pt_mfg_proctable ( PTMfgProcTable.c )