Hole Diameter
The drill diameter
PRO_E_HLE_HOLEDIAM, as required for the Standard Type of holes, must be smaller than the thread diameter calculated from the
.hol file for the threaded hole. As specified in the
*.hol files, the thread diameter is the element corresponding to BASIC_DIAM column and the selected screw size row in the table, as specified in the selected
.hol file. If the
PRO_E_HLE_HOLEDIAM is not smaller than the thread diameter, the
ProFeatureCreate() function fails and returns a
PRO_TK_GENERAL_ERROR.
Follow these steps to enter the proper value for PRO_E_HLE_HOLEDIAM:
1. Determine the values to pass from the user interface to the following elements:
◦ PRO_E_HLE_THRDSERIS. Note that UNC corresponds to 0, UNF to 1, and ISO to 2. These values change if you create a local .hol file.
◦ PRO_E_HLE_SCREWSIZE (the values start with zero).
2. From the User Interface, set the options to be passed to the elements PRO_E_HLE_THRDSERIS and PRO_E_HLE_SCREWSIZE. For example, ISO with M1X25 or UNC with 1-64.
3. Observe the value hole diameter in the dialog box. The dialog box appears grayed out unless you set the configuration option hole_diameter_override to yes.
4. The value thus obtained for the hole diameter should be greater than the value defined for element PRO_E_HLE_HOLEDIAM.
Parent topic