Special Parameters
Other special parameters are properties of steps and can include the extract status, machining time, the template name, and so on. Some of these properties may be also accessible via the step element tree.
Functions Introduced:
The function ProMfgprocitemPropertyGet() returns the value of the special property of the process manager step or operation. The special property can be as follows:
PRO_MFGPROP_EXTRACT_STATUS—Specifies the extraction priority of the step.
PRO_MFGPROP_ACTUAL_MACHINING_TIME—Specifies the machining time of a step.
PRO_MFGPROP_ACTUAL_MACHINING_LENGTH— Specifies the machining distance of a step.
PRO_MFGPROP_TEMPLATE_NAME—Specifies the name of the manufacturing template used.
PRO_MFGPROP_GROUP_LEVEL_1—Specifies a merge group created by merging several Holemaking steps together, to optimize the tool path.
PRO_MFGPROP_GROUP_LEVEL_2—Specifies a merge group created by merging PRO_MFGPROP_GROUP_LEVEL_1 type merge groups together.
ProMfgprocitemPropertyGet()returns string values for PRO_MFGPROP_GROUP_LEVEL_1 and PRO_MFGPROP_GROUP_LEVEL_2 depending on the location of the process manager step in the merged group. The following table lists all the possible values taken by the special properties.
Step Location
Value returned for
Value returned for
If the step is a merge leader, but not a merge member.
“*leader”
Empty string
If the step is both a merge leader and merge member.
Name of the parent merge leader
“*leader”
If the step is merge member, but not a merge leader.
Case 1: It is a two level merge. For example, the parent itself is a merge member.
Name of the top merge leader
Name of the parent merge leader
Case 2: It is a one level merge
Name of the parent merge leader
Empty string
If the step is neither merge leader nor a merge member.
Empty string
Empty string
The function ProMfgprocitemPropertySet() sets the value of the special property of the process manager step or operation.
¿Fue esto útil?