Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataPerUnitGet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProGtolCompositeGet
Description
Note: This function is deprecated. Use ProGtolCompositeGet() instead. Note that this will get strings, which the application will need to parse if the values reported as in this function are desired. Gets the per unit tolerance of a gtol.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataPerUnitGet(
ProGtoldata data
/* (In)
The gtol data description
*/
ProBoolean* perunit_tolerance
/* (Out)
Whether the gtol has a per unit tolerance
*/
double* value_per_unit
/* (Out)
The value per unit, if perunit_tolerance=TRUE unit_area_or_length
*/
double* unit_area_or_length
/* (Out)
The unit area, or length (depending upon the tolerance type).
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_GENERAL_ERRORAn error occurred and the function failed.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Geometric Tolerances

Sample Code References:

  1. pt_examples ( TestGtol.c )