Category 3D drawings and annotations, Object ProDimension

Function ProDimensionTolerancedecimalsSet


Description
Assigns the number of decimal places shown for the tolerance values.

Note: This will make the dimension tolerance decimals no longer be driven by the number of dimension decimals.

Synopsis
#include <ProDimension.h>
ProErrorProDimensionTolerancedecimalsSet(
ProDimension* dimension
/* (In)
The dimension.
*/
int tolerance_decimals
/* (In)
The number of decimal places; has to be non-negative.. Note: This argument must be such that the total number of symbols (in the mmm.ddd format) will not exceed 13 for the both (dimension-tolerance) and (dimension+tolerance) values..
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSInput "dimension" argument was invalid.
PRO_TK_BAD_CONTEXTThe dimension is fractional, so this value cannot be set.
PRO_TK_NOT_VALIDThe input "decimals" argument is out-of-range .
See Also
ProDimensionDecimalsSet
ProDimensionIsFractional
ProDimensionDenominatorSet
ProDimensionTolerancedenominatorSet

Manual References:

  1. Annotations: Annotation Features and Annotations: Dimension Tolerances
  2. Annotations: Annotation Features and Annotations: Dimension Tolerances