Category Solids and parts, Object ProSolid

Function ProSolidToleranceGet


Description
Retreives the tolerance value for the specified solid, for the specified number of decimal places.
Replacement in Object TOOLKIT: wfcWSolid::GetTolerance
Synopsis
#include <ProSolid.h>
ProErrorProSolidToleranceGet(
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
/* (Out)
The tolerance, at the specified number of decimal places.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe solid handle is invalid.
PRO_TK_GENREAL_ERRORA general error occurred and the function failed.

Manual References:

  1. Core: 3D Geometry: Geometry at Points
  2. Annotations: Annotation Features and Annotations: Dimension Tolerances
  3. Annotations: Annotation Features and Annotations: Dimension Tolerances

Sample Code References:

  1. pt_examples ( TestDimension.c )
  2. pt_examples ( TestDimension.c )