Category Solids and parts, Object ProSolid

Function ProSolidToleranceSet


Description
Sets the solid's tolerance, at the specified number of decimal places, to the specified value.
Replacement in Object TOOLKIT: wfcWSolid::SetTolerance
Synopsis
#include <ProSolid.h>
ProErrorProSolidToleranceSet(
ProSolid solid
/* (In)
The solid handle.
*/
ProToleranceType type
/* (In)
The tolerance type.
*/
int n_decimals
/* (In)
The number of decimal places used to identify the tolerance.
*/
double tolerance
/* (In)
The tolerance, at the specified number of decimal places.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the tolerance.
PRO_TK_BAD_INPUTSThe solid handle is invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

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 )