Object ProMfgprocitem

Function ProMfgprocitemHolesetdepthSet


Description
Assigns the holeset depth for the step. This function supports steps with only a single holeset. The holeset type must be "Blind". The end reference type will be changed to be "Along Axis" after using this function.
Licensing Requirement
TOOLKIT for Advanced NC
Synopsis
#include <ProMfgproctable.h>
ProErrorProMfgprocitemHolesetdepthSet(
ProMfgprocItem* step
/* (In)
The manufacturing process step.
*/
double holeset_depth
/* (In)
The holeset depth.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTThe manufacturing process table was not initialized, see ProMfgProctableEnable()
PRO_TK_INVALID_TYPEThis type of item does not contain holesets.
PRO_TK_E_AMBIGUOUSThe step contains multiple holesets, use the element tree for step to modify it instead of using this function.
PRO_TK_CANT_MODIFYThe type of the holeset is not "Blind".
PRO_TK_E_FOUNDThis step is associated to a feature. Use the feature element tree to access this value.
See Also
ProMfgprocitemHolesetdepthtypeGet
ProMfgprocitemHolesetdepthGet

Manual References:

  1. Production Applications: NC Process Manager: Accessing the Properties of Manufacturing Process Items
  2. Production Applications: NC Process Manager: Accessing the Properties of Manufacturing Process Items

Sample Code References:

  1. pt_mfg_proctable ( PTMfgProcTable.c )
  2. pt_mfg_proctable ( PTMfgProcTable.c )