Object ProMfgprocitem

Function ProMfgprocitemReorder


Description
Reorders steps within the process table. This could also result in moving a step into a different operation, depending on the position indicated.
Licensing Requirement
TOOLKIT for Advanced NC
Synopsis
#include <ProMfgproctable.h>
ProErrorProMfgprocitemReorder(
ProMfgprocItem* items
/* (In)
ProArray of steps to be reordered.
*/
ProMfgprocItem* item_before
/* (In)
The item which should be just before the first reordered item. To move the steps to the top of an operation, pass the operation.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTCannot reorder the items to the indicated position.
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