Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataValueSet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProGtolValueStringSet
Description
Note: This function is deprecated. Use ProGtolValueStringSet() instead. Sets the value of a gtol.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataValueSet(
ProGtoldata data
/* (In)
The gtol data description
*/
ProBoolean overall_tolerance
/* (In)
Whether the value is the overall tolerance
*/
double overall_value
/* (In)
The overall tolerance value
*/
ProName name
/* (In)
The tolerance value name
*/
ProGtoldataStatus* status
/* (Out)
The resulting status of the gtol
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_CANT_MODIFYThe value may not be modified for this gtol data.
PRO_TK_NOT_VALIDValues are not valid for this type of gtol.
PRO_TK_GENERAL_ERRORAn error occurred and the function failed.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Updates to Error Types
  2. Technical Summary of Changes for Creo 4.0 F000: Geometric Tolerances

Sample Code References:

  1. pt_examples ( TestGtol.c )
  2. pt_examples ( TestGtol.c )
  3. pt_userguide ( UgGtolCreate.c )