Category Feature element trees, Object ProElement

Function ProElementHoleScrewSizeSet


Description
Updates the screw size ( fasten id ) in the element tree. This updates PRO_E_HLE_SCREWSIZE element. This depends on the value in PRO_E_HLE_THRDSERIS element.i Hence the value in PRO_E_HLE_THRDSERIS should be set using ProElementHoleThreadSeriesSet, prior to this call.
Synopsis
#include <ProHole.h>
ProErrorProElementHoleScrewSizeSet(
ProElement elemtree
/* (In)
The hole element tree
*/
ProMdl model
/* (In)
Handle to the model
*/
wchar_t* screw_size_name
/* (In)
The screw size ( fasten id ) in wide-string.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_NOT_EXISTThe hole file that is referred in the element with id PRO_E_HLE_THRDSERIS did not exist.
PRO_TK_INCOMPLETEThe element tree did not have valid elements with id PRO_E_HLE_THRDSERIS and PRO_E_HLE_SCREWSIZE.
PRO_TK_INVALID_NAMEThe screw size that is referred in screw_size_name did not exist in the hole file which is mentioned in the element with id PRO_E_HLE_THRDSERIS.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. Element Trees: Hole: Hole-specific Functions
  2. Element Trees: Hole: Hole-specific Functions