Category Feature element trees, Object ProElement

Function ProElementHoleScrewSizeGet


Description
Retrieves the screw size ( fastener id) from the element tree. This uses PRO_E_HLE_THRDSERIS and PRO_E_HLE_SCREWSIZE elements.
Synopsis
#include <ProHole.h>
ProErrorProElementHoleScrewSizeGet(
ProElement elemtree
/* (In)
The hole element tree
*/
ProMdl model
/* (In)
Handle to the model
*/
wchar_t** r_screw_size_name
/* (Out)
The screw size ( fastener id) in wide-string. This should be freed using ProWstringFree().
*/
)
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_ITEMThe screw size that is referred in the element with element id PRO_E_HLE_SCREWSIZE 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