Dimension Patterns
 
If the pattern type is PRO_GENPAT_DIM_DRIVEN, the element tree must include information about the dimensions used to drive the pattern. You must specify this information for each direction in which the feature is to be patterned.
Figure 51. Element Tree for a Dimension Pattern
The elements with identifiers PRO_E_GENPAT_DIM_FIRST_DIR and PRO_E_GENPAT_DIM_SECOND_DIR contain information about the pattern dimensions.
These elements are array elements that contain as many PRO_E_GENPAT_DIM_DIR_COMPOUND elements as are required to complete the pattern. The following table describes the contents of the PRO_E_GENPAT_DIM_DIR_COMPOUND element.
Element ID Values
Element Name
Data Type
Valid Values
PRO_E_GENPAT_DIR_DIMENSION
Dimension
PRO_VALUE_TYPE_SELECTION
PRO_E_GENPAT_DIR_VAR_TYPE
Variation type
PRO_VALUE_TYPE_INT
PRO_PAT_RELATION_DRIVEN,
PRO_PAT_VALUE_DRIVEN
PRO_E_GENPAT_DIR_VAR_VALUE
Variation value (increment)
PRO_VALUE_TYPE_DOUBLE
PRO_E_GENPAT_RELATION_EDIT
Relation
Application (PRO_VALUE_TYPE_POINTER)
The element PRO_E_GENPAT_DIR_VAR_TYPE specifies whether the pattern increment is relation-driven or value-driven. If the increment is relation-driven, the element PRO_E_GENPAT_RELATION_EDIT contains an array of wide strings whose members are individual relations.
The elements PRO_E_GENPAT_DIM_FIRST_DIR_NUM_INST and PRO_E_PAT_SECOND_DIR_NUM_INST specify the number of instances in each of the pattern dimensions.
Even if the pattern extends in only one direction, you must specify elements for the second direction. In this case, add an empty PRO_E_PAT_SECOND_DIR element and set the value of the PRO_E_PAT_SECOND_DIR_NUM_INST element to 1 (not 0).
Est-ce que cela a été utile ?