Documentazione API > Feature element trees > Object ProElement > Function ProElementHoleScrewSizeGet
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>
ProElementHoleScrewSizeGet
(
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
The function succeeded.
The hole file that is referred in the element with id PRO_E_HLE_THRDSERIS did not exist.
The element tree did not have valid elements with id PRO_E_HLE_THRDSERIS and PRO_E_HLE_SCREWSIZE.
The 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.
One or more input arguments was invalid.
User Guide References
È stato utile?