Dimension Tolerances
 
Methods and Properties Introduced:
Only true dimension objects can have geometric tolerances.
The property pfcDimension.Tolerance enables you to access the dimension tolerance. The object types for the dimension tolerance are:
pfcDimTolLimits—Displays dimension tolerances as upper and lower limits.
* 
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).
The methods pfcDimension.GetToleranceTable() and pfcDimension.SetToleranceTable() get and set the ISO/DIN tolerance label on the specified dimension.
The methods pfcDimension.GetToleranceType() and pfcDimension.SetToleranceType() get and set the tolerance type of the specified dimension of the object and is specified using the enumerated data type pfcDimToleranceType. The valid values are as follows:
DIMTOL_LIMITS—Dimension tolerance shown as "Limits".
DIMTOL_PLUS_MINUS—Dimension tolerance shown with independent plus and minus values.
DIMTOL_SYMMETRIC—Dimension tolerance shown with a single symmetric plus/minus value.
DIMTOL_SYMMETRIC_SUPERSCRIPT—Dimension tolerance shown with a single symmetric plus/minus value; the tolerance is displayed in a superscript font relative to the dimension value.
DIMTOL_ISODIN—Dimension tolerance shown when the dimension is in the ISO/DIN standard.
DIMTOL_BASIC—Displays dimensions as basic dimensions. Basic dimensions are displayed in an enclosed feature control frame . Tolerances are not displayed in basic dimensions, only the numerical part of the dimension value and its symbol are enclosed in the rectangular box. Any additional text in the dimension value is not included in the box.
The methods pfcDimension.GetToleranceLimits() and pfcDimension.SetToleranceLimits get and set the tolerance of the specified dimension of the object.
A null value is similar to the nominal option in Creo Parametric.
To determine whether a given tolerance is plus/minus, symmetric, limits, or superscript use TBD.
Was this helpful?