Documentación de la API > Feature element trees > Object ProElement > Function ProElementHoleScrewSizeSet
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>
ProElementHoleScrewSizeSet
(
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
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 screw_size_name 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
¿Fue esto útil?