Manufacturing Thread Milling Holeset
The element PRO_E_MFG_THRM_HOLESET_ARR is documented in the header file ProMfgElemThreadHoleset.h, and is shown in the following figure.
Figure 152. Element tree for Manufacturing Thread Milling Holeset
The following table lists the contents of PRO_E_MFG_THRM_HOLESET_ARR element.
Element ID
Data Type
Description
PRO_E_MFG_THRM_HOLESET_ARR
Array
This element specifies an array of thread holesets. It gives specifications about machining references.
PRO_E_MFG_THRM_HOLESET_COMPOUND
Compound
Mandatory element. This compound element specifies the thread holeset definition.
Note:
 
Specify this element only when the holeset array has at least one member
PRO_E_HOLESET_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the holeset type. The valid value for this element is PRO_HOLESET_DRILL_AXES.
PRO_E_HOLESET_START
Compound
Mandatory element. Specifies the holemaking start compound specification.
PRO_E_HOLESET_START_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the start surface option using the enumerated value ProDrillStartType.
PRO_E_HOLESET_START_SURFACE
PRO_VALUE_TYPE_SELECTION
Specifies the starting surface or quilt selection.
Note:
 
This element is mandatory if the element PRO_E_HOLESET_START_TYPE is set to PRO_DRILL_FROM_SURFACE.
PRO_E_MFG_THRM_HSET_END_COMPOUND
Compound
Mandatory element. Specifies the thread depth compound specification.
PRO_E_HOLESET_END_TYPE
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the end type option. The valid values for this element are:
PRO_DRILL_UPTO_SURFACE
PRO_DRILL_AUTO_END
PRO_DRILL_OFFSET_FROM_START
PRO_E_HOLESET_END_SURFACE
PRO_VALUE_TYPE_SELECTION
Specifies the end surface or quilt selection.
Note:
 
This element is mandatory if the element PRO_E_HOLESET_END_TYPE is set to PRO_DRILL_UPTO_SURFACE.
PRO_E_HOLESET_DEPTH_VALUE
PRO_VALUE_TYPE_DOUBLE
Specifies the depth to the cut thread from the start.
Note:
 
This element is mandatory if the element PRO_E_HOLESET_END_TYPE is set to PRO_DRILL_OFFSET_FROM_START.
PRO_E_DRILL_PART_DATA
Compound
This element gives compound information about components used in depth computation.
Note:
 
Specify this element only if the start or end of machining has to be computed and the following conditions hold true:
The element PRO_E_HOLESET_START_TYPE is set to PRO_DRILL_AUTO_START.
The element PRO_E_HOLESET_END_TYPE is set to PRO_DRILL_AUTO or PRO_DRILL_THRU_ALL
The element PRO_E_HOLESET_DEPTH_TYPE is set to PRO_DRILL_AUTO or PRO_DRILL_THRU_ALL
PRO_E_AUTO_SEL_DRILL_PARTS
PRO_VALUE_TYPE_INT
Mandatory element. This element defines the way in which components are collected. The valid values for this element are:
TRUE— All components of type reference part or workpiece are considered for depth calculation.
FALSE—Only selected components are considered in depth calculation.
PRO_E_DRILL_PARTS
PRO_VALUE_TYPE_SELECTION
Specifies the components selections. This element supports multiple selections.
Note:
 
This element is mandatory if the element PRO_E_AUTO_SEL_DRILL_PARTS is set to FALSE.
This element is ignored if the element PRO_E_AUTO_SEL_DRILL_PARTS is set to FALSE.
PRO_E_MFG_THRM_HSET_HOLES_COMP
Compound
Mandatory element. This compound element gives the compound information about location of holes.
Note:
 
Specify this element only when at least one of the following have been defined:
PRO_E_HOLESET_SEL_INDIV_AXES
PRO_E_HOLESET_SEL_AXIS_PATTS
PRO_E_HOLESET_SEL_BY_SURFACES
PRO_E_MFG_HSET_DIAM_TYPE_OPT
PRO_E_MFG_HSET_THREAD_DESCR_ARR
PRO_E_MFG_HSET_DIAM_ARR
PRO_E_MFG_HSET_PARAM_ARR
PRO_E_HOLESET_SEL_AXIS_PATTS
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the selection of axes of patterned holes. This element supports multiple selections.
Note:
 
If a pattern leader is selected, all holes in pattern will be collected.
PRO_E_HOLESET_SEL_BY_SURFACES
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the selection of surfaces or quilts with holes. This element supports multiple selections.
PRO_E_MFG_HSET_DIAM_TYPE_OPT
PRO_VALUE_TYPE_INT
Optional element. Specifies the type of hole diameters that can be collected in the element PRO_E_MFG_HSET_DIAM_ARR. The type of hole diameter is specified using the enumerated data type ProHolesetDiamType. The valid values are:
PRO_HSET_ALL_DIAMS—This is the default value. Specifies that diameters of both solid surfaces and cosmetic threads can be collected.
Note:
 
If the element PRO_E_MFG_HSET_DIAM_TYPE_OPT is not defined, then by default, the hole diameter of type PRO_HSET_ALL_DIAMS is used.
PRO_HSET_HOLE_DIAMS—Specifies that diameters only of solid surfaces can be collected.
PRO_HSET_THREAD_DIAMS—Specifies that diameters only of cosmetic threads can be collected.
PRO_E_MFG_HSET_DIAM_ARR
Array
Optional element. Specifies an array of diameters of holes to machine.
PRO_E_MFG_HSET_DIAM_COMPOUND
Compound
Optional element. Specifies the compound definition of a hole diameter.
PRO_E_MFG_HSET_HOLE_DIAM
PRO_VALUE_TYPE_DOUBLE
Specifies the diameter of a hole to machine.
Note:
 
This element is a mandatory child element of the element PRO_E_MFG_HSET_DIAM_COMPOUND.
PRO_E_MFG_HSET_THREAD_DESCR_ARR
Array
Optional element. This array element gives thread descriptions of holes to machine.
PRO_E_MFG_HSET_THREAD_DESCR_COMP
Compound
Optional element. Specifies compound definition of a thread description.
PRO_E_MFG_HSET_THREAD_DESCR
PRO_VALUE_TYPE_WSTRING
Specifies the thread size string.
Note:
 
This element is a mandatory child of PRO_E_MFG_HSET_THREAD_DESCR_COMP element.
PRO_E_MFG_HSET_PARAM_RULE_OPT
PRO_VALUE_TYPE_INT
Specifies the type of query that must be used to search for holes to machine.
The query type is specified using the enumerated data type ProHsetParamRuleOpt. The valid values are:
PRO_HSET_BOOL_OPER_OR—Collects holes that satisfy at least one of the search conditions set for a parameter.
PRO_HSET_BOOL_OPER_AND—Collects holes that satisfy all the search conditions set for a parameter.
The search conditions and parameters are defined in the elements PRO_E_MFG_HSET_PARAM*.
PRO_E_MFG_HSET_PARAM_ARR
Array
Optional element. Specifies an array of search conditions to collect holes for machining.
PRO_E_MFG_HSET_PARAM_COMPOUND
Compound
Optional element. Specifies a compound element that defines a search condition to match with the user defined parameters in hole features.
Each condition defines an expression with user defined parameter name on the left side of the expression and value to compare on the right side.
PRO_E_MFG_HSET_PARAM_NAME
PRO_VALUE_TYPE_WSTRING
Specifies the name of the user defined parameter.
Note:
 
This element is a mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element.
PRO_E_MFG_HSET_PARAM_DTYPE
PRO_VALUE_TYPE_INT
Specifies the data type of the values using the enumerated value ProParamvalueType.
Note:
 
This element is a mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element.
PRO_E_MFG_HSET_PARAM_OPER
PRO_VALUE_TYPE_INT
Specifies the type of expression operator using the enumerated value ProDrillParamOper.
Note:
 
This element is a mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element.
PRO_E_MFG_HSET_PARAM_VAL_DBL
PRO_VALUE_TYPE_DOUBLE
Specifies the value of the double data type.
Note:
 
This element is mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element for double data type (PRO_E_MFG_HSET_PARAM_DTYPE is set to PRO_PARAM_DOUBLE). It is ignored for other data types.
PRO_E_MFG_HSET_PARAM_VAL_INT
PRO_VALUE_TYPE_INT
Specifies the value of the integer data type.
Note:
 
This element is mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element for integer data type (PRO_E_MFG_HSET_PARAM_DTYPE is set to PRO_PARAM_INTEGER). It is ignored for other data types.
PRO_E_MFG_HSET_PARAM_VAL_STR
PRO_VALUE_TYPE_WSTRING
Specifies the value of the string data type.
Note:
 
This element is mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element for string data type (PRO_E_MFG_HSET_PARAM_DTYPE is set to PRO_PARAM_STRING). It is ignored for other data types.
PRO_E_MFG_HSET_PARAM_VAL_BOOL
PRO_VALUE_TYPE_INT
Specifies the value of the string data type.
Note:
 
This element is mandatory child of PRO_E_MFG_HSET_PARAM_COMPOUND element for boolean data type (PRO_E_MFG_HSET_PARAM_DTYPE is set to PRO_PARAM_BOOLEAN). It is ignored for other data types.
PRO_E_HOLESET_SEL_INDIV_AXES
PRO_VALUE_TYPE_SELECTION
Specifies the selection of datum axes. This element supports multiple selections.
Note:
 
This element is mandatory if you have not defined the following elements:
PRO_E_HOLESET_SEL_AXIS_PATTS
PRO_E_HOLESET_SEL_BY_SURFACES
PRO_E_MFG_HSET_THREAD_DESCR_ARR
PRO_E_MFG_HSET_DIAM_ARR
PRO_E_MFG_HSET_PARAM_ARR
PRO_E_HOLESET_SEL_UNSEL_AXES
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the selection of axes of holes to be excluded for machining. This element supports multiple selections.
PRO_E_MFG_HSET_START_HOLE_REF
PRO_VALUE_TYPE_SELECTION
Optional element. Specifies the axis selection for the hole to be machined first.
这对您有帮助吗?