Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataReferenceSet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: No successor will be provided.
Description
Note: This function is deprecated. Use ProGtolReferencesSet() instead. Sets the item to which the gtol refers.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataReferenceSet(
ProGtoldata data
/* (In)
The gtol data description
*/
ProGtolRefItemType type
/* (In)
The type of item being referenced
*/
ProSelection reference
/* (In)
The item being referenced. Ignore if type is PROGTOLRTYPE_NONE
*/
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 reference may not be modified in this context.
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 )
  2. pt_userguide ( UgGtolCreate.c )