Category 3D drawings and annotations, Object ProGtoldatumref

Function ProGtoldatumrefAlloc


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProGtolDatumReferencesSet
Description
Note: This function is deprecated. Use ProGtolDatumReferencesSet() instead Allocates and defines a datum reference structure.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldatumrefAlloc(
ProSelection basic_datum
/* (In)
The basic datum (plane or axis) being referenced Can be NULL.
*/
ProGtolMaterialCond basic_matcond
/* (In)
The basic material condition
*/
ProSelection compound_datum
/* (In)
The compound datum (plane or axis) being referenced Can be NULL.
*/
ProGtolMaterialCond compound_matcond
/* (In)
The compound material condition
*/
ProGtoldatumref* datumref
/* (Out)
The allocated datum reference structure
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

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 )