Category 3D drawings and annotations, Object ProDimension

Function ProDimensionToltypeSet


Description
Sets the tolerance of the specified dimension of the object. To make a dimension 'Basic' either "call ProDimensionToltypeSet with 'type' as 'PRO_DIM_TOL_BASIC'" or "call ProDimensionToltypeSet with 'type' as 'PRO_TOL_DEFAULT' if needed and then call ProDimensionBasicSet with 'basic' as 'TRUE'". To make a 'Basic' dimension 'not Basic' "call ProDimensionBasicSet with 'basic' as 'FALSE' and then ProDimensionToltypeSet as desired".
Replacement in Object TOOLKIT: pfcDimension::Tolerance
Synopsis
#include <ProDimension.h>
ProErrorProDimensionToltypeSet(
ProDimension* dimension
/* (In)
The dimension handle.
*/
ProDimToleranceType type
/* (In)
The dimension tolerance type.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the tolerance.
PRO_TK_BAD_CONTEXTThe input dimension is reference.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDimension.c )