Manufacturing Parameters
The element PRO_E_MFG_PARAM_ARR is documented in the header file ProMfgElemParam.h, and is as shown in the following figure.
Figure 177. Element tree for PRO_E_MFG_PARAM_ARR element
The element PRO_E_MFG_PARAM_ARR contains the compound element PRO_E_MFG_PARAM_COMPOUND that defines the name, attribute, and value of the parameter. You must define this element for parameters, such as, CUT_FEED and SPINDLE_SPEED, which do not have a default value. Refer to the Creo NC Manufacturing Help for more information on Creo NC Parameters.
The following table lists the contents of PRO_E_MFG_PARAM_ARR element.
Element ID
Data Type
Description
PRO_E_MFG_PRM_NAME
PRO_VALUE_TYPE_WSTRING
Specifies the untranslated parameter name from the list predefined names.
Note:
 
This element is a mandatory child of PRO_E_MFG_PARAM_COMPOUND element.
PRO_E_MFG_PRM_ATTR
PRO_VALUE_TYPE_INT
Mandatory element. Specifies the option to define logic for parameter value assignment. The values for this element are defined by ProMfgParamAttr. The valid values for this element are:
PRO_MFG_PRM_ATTR_DEFAULT—The value from PRO_E_MFG_PRM_VAL_DBL or PRO_E_MFG_PRM_VAL_STR is going to be assigned to the corresponding manufacturing parameter.
PRO_MFG_PRM_ATTR_AUTOMATIC—Default value (supplied by Creo NC) is going to be assigned to the corresponding manufacturing parameter. Use PRO_MFG_PRM_ATTR_DEFAULT to set param value to dash (if applicable). Value from PRO_E_MFG_PRM_VAL_DBL or PRO_E_MFG_PRM_VAL_STR is ignored.
PRO_MFG_PRM_ATTR_MODIFIED—Value from site or parent sequence (for tool motion parameters) is going to be assigned to the corresponding manufacturing parameter. Value from PRO_E_MFG_PRM_VAL_DBL or PRO_E_MFG_PRM_VAL_STR is going to be used only if site with corresponding name does not exist in manufacturing model (The site name is specified by PRO_E_MFG_PARAM_SITE_NAME element in sequence elem tree).
PRO_MFG_PRM_ATTR_INHERITED—Value will be assigned automatically: either from site (if exists), or from system defaults. The Value from PRO_E_MFG_PRM_VAL_DBL or PRO_E_MFG_PRM_VAL_STR is ignored.
Note:
 
This element is a mandatory child of PRO_E_MFG_PARAM_COMPOUND element.
PRO_E_MFG_PRM_VAL_DBL
PRO_VALUE_TYPE_DOUBLE
Specifies the value of type double.
Note:
 
This element is Mandatory for Double data type parameters with attribute set to PRO_MFG_PRM_ATTR_MODIFIED. Ignored for other data types.
PRO_E_MFG_PRM_VAL_STR
PRO_VALUE_TYPE_WSTRING
Specifies the value of type string.
Note:
 
Mandatory for String data type parameters with attribute set to PRO_MFG_PRM_ATTR_MODIFIED. Ignored for other data types.
도움이 되셨나요?