| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | TopMdl—Specify the top level model from which parameters are to be exported. |
| • | Contexts—Specifies a bitmask that contains the context of parameters to list in the exported file. Specify a context only if the argument
owner is set to NULL. The list of contexts is specified by the enum pfcParameterSelectionContext and the valid combinations of the context are:
|
| • | ExportType—Specify the format of the exported file. The supported formats are defined by the enumerated type wfcParamTableExportType and are as follows:
|
| • | Path—Specify the full path, including the name and the extension of the file to be created during export. |
| • | Columns—Specifies a list that contains the description about the number of columns to be included in the exported file. The columns exported will match the columns and options set by the user in the active session using File ▶ Export in the Parameters dialog box to export the entire parameter table in the Comma Separated Value (CSV) format. This parameter is not applicable for the text format. You can also specify the type of parameter table column to be included in the export file using the enumerated type wfcParamColumn. |
| • | Owner—Specify the owner modelitem of the parameters to be exported. Set this parameter to NULL, if the parameters to be exported are selected by context. |
| • | AllowContextSelection—This boolean attribute indicates whether to allow parameter selection from multiple contexts, or from the invoking parameter
owner. By default, it is false and allows selection only from the invoking parameter owner. If it is true and if specific
selection contexts are not yet assigned, then you can select the parameters from any context. Use the method pfcParameteSelectionOptions::SetAllowContextSelection to modify the value of this attribute.
|
| • | Contexts—The permitted parameter selection contexts in the form of the pfcParameterSelectionContexts object. Use the method pfcParameterSelectionOptions::SetContexts to assign the parameter selection context. By default, you can select parameters from any context. |
| • | The types of parameter selection contexts are as follows:
|
| • | AllowMultipleSelections—This boolean attribute indicates whether or not to allow multiple parameters to be selected from the dialog box, or only
a single parameter. By default, it is true and allows selection of multiple parameters. Use the method pfcParameterSelectionOptions::SetAllowMultipleSelections to modify this attribute.
|
| • | SelectButtonLabel—The visible label for the select button in the dialog box. Use the method pfcParameterSelectionOptions::SetSelectButtonLabel to set the label. If not set, the default label in the language of the active Creo Parametric session is displayed.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | pfcPARAMDRIVER_PARAM—Specifies that the parameter value is driven by another parameter. |
| • | pfcPARAMDRIVER_FUNCTION—Specifies that the parameter value is driven by a function. |
| • | pfcPARAMDRIVER_RELATION—Specifies that the parameter value is driven by a relation. This is equivalent to the value obtained using pfcGetIsRelationDriven for a parameter object type. |
| • | wfcPARAMLOCKSTATUS_UNLOCKED—Specifies parameters with full access. Full access parameters are user-defined parameters that can be modified from any application. |
| • | wfcPARAMLOCKSTATUS_LIMITED—Specifies parameters with limited access. Full access parameters can be set to have limited access. Limited access parameters can be modified by user, family tables and programs. These parameters cannot be modified by relations. |
| • | wfcPARAMLOCKSTATUS_LOCKED—Specifies parameters with locked access are parameters. The parameters can be locked either by an external application, or by the user. You can modify parameters locked by an external application only from within an external application. You cannot modify user-defined locked parameters from within an external application. |
| • | Name—Specifies the name of the parameter. |
| • | Value—Specifies the value of the parameter. |
| • | Unit—Specifies the unit of the parameter. |
| • | Name— Specifies the name of the parameter in conflict. |
| • | Severity—Specifies the severity of the conflict. |
| • | Description—Specifies the description of the parameter in conflict. |
| • | pfcPARAMSELECT_ENUMERATION—Specifies that the parameter is restricted to a list of permitted values. |
| • | pfcPARAMSELECT_RANGE—Specifies that the parameter is limited to a specified range of numeric values. |
| |
| |
| |
| |
| • | pfcPARAMLIMIT_LESS_THAN—Specifies that the parameter must be less than the indicated value. |
| • | pfcPARAMLIMIT_LESS_THAN_OR_EQUAL—Specifies that the parameter must be less than or equal to the indicated value. |
| • | pfcPARAMLIMIT_GREATER_THAN—Specifies that the parameter must be greater than the indicated value. |
| • | pfcPARAMLIMIT_GREATER_THAN_OR_EQUAL—Specifies that the parameter must be greater than or equal to the indicated value. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcDIMVALUEDISPLAY_NOMINAL—Displays the actual value of the dimension along with the tolerance value. |
| • | wfcDIMVALUEDISPLAY_OVERRIDE—Displays the override value for the dimension along with the tolerance value. |
| • | wfcDIMVALUEDISPLAY_HIDE—Displays only the tolerance value for the dimension. |
| • | true—When the negative sign in the dimension value is used to flip the direction. |
| • | false—When the negative sign is used to indicate a negative value, that is, the dimension is negative. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcDIM_BOUND_NOMINAL—Sets the dimension value to the nominal value. It generates geometry based on exact ideal dimensions. |
| • | wfcDIM_BOUND_UPPER—Sets the dimension value to its maximum value. It generates geometry based on a nominal dimension value plus the tolerance. |
| • | wfcDIM_BOUND_LOWER—Sets the dimension value to its minimum value. It generates geometry based on a nominal dimension value minus the tolerance. |
| • | wfcDIM_BOUND_MIDDLE—Sets the dimension value to the nominal value plus the mean of the upper and lower tolerance values. |
| • | Drawing—Specifies the drawing in which the dimension is present. You can specify a NULL value. |
| • | WitnessLineIndex—Specifies the index of the witness line. Depending on which side of the dimension the witness line lies, specify the value
as 1 or 2. Use the methods wfcDimLocation::GetFirstWitnessLineLocation or wfcDimLocation::GetSecondWitnessLineLocation to get the location of the witness line end points for a dimension. Note
This argument is not applicable for ordinate, radius, and diameter dimensions.
|
| • | BreakStart—Specifies the start point of the break. |
| • | BreakEnd—Specifies the end point of the break. |
| • | Drawing—Specifies the drawing in which the dimension is present. You can specify a NULL value. |
| • | WitnessLineIndex—Specifies the index of the witness line. Depending on which side of the dimension the witness line lies, specify the value
as 1 or 2. Use the methods wfcDimLocation::GetFirstWitnessLineLocation or wfcDimLocation::GetSecondWitnessLineLocation to get the location of the witness line end points for a dimension. Note
This argument is not applicable for ordinate, radius, and diameter dimensions.
|
| • | JogPoints—Specifies an array of points to position the jog. If the specified witness line has no jog added to it, then you must specify minimum two points that is, the start point and end point of the jog. |
| • | Drawing—Specifies the drawing in which the dimension is displayed. To erase witness line from a solid, specify this argument as NULL. |
| • | WitnessLineIndex—Specifies the index of the witness line. Specify the value as 1 or 2 depending on which side of the dimension the witness line lies. Use the methods wfcDimLocation::GetFirstWitnessLineLocation or wfcDimLocation::GetSecondWitnessLineLocation to get the location of the witness line end points for a dimension. |
| • | If the number of decimal places required to display the stored value of the dimension is greater than the number of decimal places specified in the method wfcWDimension::SetSignificantDigits and the round displayed value attribute of the dimension is ON, the stored value is unchanged. Only the displayed number of decimal places is changed and the displayed value is updated accordingly. For example, consider a dimension with its stored value as 12.12323 and the round displayed value attribute of the dimension is set to ON. If the method wfcWDimension::SetSignificantDigits sets the number of decimal places to 3, the stored value of the dimension is unchanged, that is, the stored value will be 12.12323. The displayed value of the dimension is rounded to 3 decimal places, that is, 12.123. The round displayed value attribute is not changed. |
| • | If the number of decimal places required to display the stored value of the dimension is greater than the number of decimal places specified in the method wfcWDimension::SetSignificantDigits and the round displayed value attribute of the dimension is OFF, the number of decimal places of the dimension is modified and the stored value is rounded to the specified number of decimal places. For example, consider a dimension with its stored value as 12.12323 and the round displayed value attribute of the dimension is OFF. If the method wfcWDimension::SetSignificantDigits sets the dimension to 3 decimal places, then the stored value of the dimension is rounded to 3 decimal places and is modified to 12.123. The dimension is displayed as 12.123. |
| • | If the number of decimal places required to display the stored value of the dimension is less than the number of decimal places specified in the method wfcWDimension::SetSignificantDigits, the number of decimal places is set to the specified value. The status of the round displayed value attribute is not considered, as no change or an increase to the number of decimal places will have no effect on the stored value. For example, consider a dimension with its stored value as 12.12323. If the method wfcWDimension::SetSignificantDigits sets the dimension to 8 decimal places and if trailing zeros are displayed, then the dimension is displayed as 12.12323000. |
| • | If the number of decimal places set by the method is greater than or equal to the number of decimal places required to display the stored value of the dimension, the decimal places value is changed and no change to the round displayed value attribute is made. |
| • | If the number of decimal places of the dimension is less than the number required to display the stored value of the dimension, the round displayed value attribute is automatically set to ON as it is not possible to change the stored value of a driven dimension. |
| • | The stored value remains unchanged if,
|
| • | The stored value changes to the nearest fraction and triggers a regeneration of the model, if it cannot be expressed as an exact fraction with the given denominator and the round-off attribute is not set. |
| • | ArrowIndex—Specifies the index of the witness line. Depending on which side of the dimension the witness line lies, specify the value as 1 or 2. For diameter dimensions, this value determines which of the two arrows to change. For other dimensions, the value of 1 indicates the arrow on the first witness line, and the value of 2 indicates the arrow on the second witness line. For ordinate and radius dimensions, this value is ignored. Use the method wfcDimLocation::GetFirstWitnessLineLocation or wfcDimLocation::GetSecondWitnessLineLocation to get the location of the witness line end points for a dimension. |
| • | ArrowType—Specifies the type of arrow head using the enumerated data type wfcLeaderArrowType. |
| • | Drawing—Optional argument. Specifies the name of the drawing. For dimensions created in drawing mode and owned by a solid, which can be displayed only in the context of that drawing, specify the name of the drawing in the input argument drawing. |
| • | drawing—The value for this input argument must be passed only if the solid dimension is shown in the drawing. Else, pass it as NULL. |
| • | line—The line number of the dimension. |
| • | View—Specifies the view in which the dimensions must be cleaned as a pfcView2D object. If you pass the value as NULL, the dimensions are cleaned for all the views in the specified drawing. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | pfcDimTolLimits—Displays dimension tolerances as upper and lower limits. Note
This format is not available when only the tolerance value for a dimension is displayed.
|
| • | pfcDimTolPlusMinus—Displays dimensions as nominal with plus-minus tolerances. The positive and negative values are independent. |
| • | pfcDimTolSymmetric—Displays dimensions as nominal with a single value for both the positive and the negative tolerance. |
| • | pfcDimTolSymSuperscript—Displays dimensions as nominal with a single value for positive and negative tolerance. The text of the tolerance is displayed in a superscript format with respect to the dimension text. |
| • | pfcDimTolISODIN—Displays the tolerance table type, table column, and table name, if the dimension tolerance is set to a hole or shaft table (DIN/ISO standard). |
| • | Type—Specifies the type of tolerance as linear or angular using the enumerated type wfcToleranceType. |
| • | Decimals—Specifies the number of decimal places to identify the tolerance value. |
| • | wfcMODELCLASS_NONE |
| • | wfcMODELCLASS_FINE |
| • | wfcMODELCLASS_MEDIUM |
| • | wfcMODELCLASS_COARSE |
| • | wfcMODELCLASS_VERY_COARSE |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | wfcDIM_CLEADER_CENTERED_ELBOW—Specifies that the dimension text is placed next to and centered about the elbow of the center leader. |
| • | wfcDIM_CLEADER_ABOVE_ELBOW—Specifies that the dimension text is placed next to and above the elbow of the center leader. |
| • | wfcDIM_CLEADER_ABOVE_EXT_ELBOW—Specifies that the dimension text is placed above the extended elbow of the center leader. |
| • | wfcDIM_PARALLEL_ABOVE—Specifies that the dimension text is placed parallel to and above the center leader. |
| • | wfcDIM_PARALLEL_BELOW—Specifies that the dimension text is placed parallel to and below the center leader. |
| • | True—If the dimension has an elbow. |
| • | False—If the dimension does not have an elbow. |
| • | pfcORIENTATION_HINT_HORIZONTAL—Specifies a horizontal dimension. |
| • | pfcORIENTATION_HINT_VERTICAL—Specifies a vertical dimension. |
| • | pfcORIENTATION_HINT_SLANTED—Specifies the shortest distance between two attachment points (available only when the dimension is attached to points). |
| • | pfcORIENTATION_HINT_ELLIPSE_RADIUS1—Specifies the start radius for a dimension on an ellipse. |
| • | pfcORIENTATION_HINT_ELLIPSE_RADIUS2—Specifies the end radius for a dimension on an ellipse. |
| • | pfcORIENTATION_HINT_ARC_ANGLE—Specifies the angle of the arc for a dimension of an arc. |
| • | pfcORIENTATION_HINT_ARC_LENGTH—Specifies the length of the arc for a dimension of an arc. |
| • | pfcORIENTATION_HINT_LINE_TO_TANGENT_CURVE_ANGLE—Specifies the value to dimension the angle between the line and the tangent at a curve point (the point on the curve must be an endpoint). |
| • | pfcORIENTATION_HINT_RADIAL_DIFF—Specifies the linear dimension of the radial distance between two concentric arcs or circles. |
| • | DimAttachments—Specifies the points on the model where you want to attach the dimension. |
| • | DimSenses—Specifies how the dimension attaches to each attachment point of the model, that is, to what part of the entity. |
| • | OrientHint—Specifies the orientation of the dimension and has one of the values given by the enumerated type pfcDimOrientationHint. |
| • | AnnotPlane—Specifies the annotation plane for the dimensions. |
| • | Edges, including solid or surface edges, silhouette edges, curves, and sketches. |
| • | Surfaces |
| • | Revolve surfaces |
| • | wfcDIM_CHMFR_LEADER_STYLE_NORMAL—Defines the leader of the chamfer dimension normal to the chamfer edge (ASME, ANSI, JIS, ISO Standard). |
| • | wfcDIM_CHMFR_LEADER_STYLE_DEFAULT—Defines that the chamfer dimension leader style should be displayed using the default value. |
| • | wfcDIMCONFIG_LEADER—Creates the dimension with a leader. |
| • | wfcDIMCONFIG_LINEAR—Creates a linear dimension. |
| • | wfcDIMCONFIG_CENTER_LEADER—Creates the dimension with the leader note attached to the center of the dimension leader line. |
| • | wfcDIM_CHMFRSTYLE_CD—Specifies that the chamfer dimension text should be displayed in the C(Dimension value) format (JIS/GB Standard). |
| • | wfcDIM_CHMFRSTYLE_D_X_45—Specifies that the chamfer dimension text should be displayed in the (Dimension value) X 45 format (ISO/DIN Standards). |
| • | wfcDIM_CHMFRSTYLE_DEFAULT—Specifies that the chamfer dimension text should be displayed using the default value set in the drawing detail option default_chamfer_text. |
| • | wfcDIM_CHMFRSTYLE_45_X_D—Specifies that the chamfer dimension text should be displayed in the 45 X (Dimension value) format (ASME/ANSI Standards). |