Object ProMfgprocitem

Function ProMfgprocitemCreate


Description
Creates a new item in the manufacturing process table.
Licensing Requirement
TOOLKIT for Advanced NC
Synopsis
#include <ProMfgproctable.h>
ProErrorProMfgprocitemCreate(
ProMfg model
/* (In)
The manfacturing model.
*/
ProMfgproctableType table_type
/* (In)
The type of table to create new item.
*/
ProElement elem_tree
/* (In)
The element tree for the new manfacturing item.
*/
ProMfgprocItem* predecessor
/* (In)
Step or operation that should be immediately before the new item in the table. To place an item at the top of the table, pass NULL. To create a workcell, pass NULL.
*/
ProMfgprocItem* item
/* (Out)
The created manufacturing item.
*/
ProErrorlist* errors
/* (Out)
Errors encountered during the item creation.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_GENERAL_ERRORThe item creation failed. See the errors output for details of the possible problems.
PRO_TK_CANT_ACCESSAccess to the manufacturing process table is not enabled, use ProMfgProctableEnable().

Manual References:

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