Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataAlloc


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: No successor will be provided.
Description
Note: This function is deprecated. Allocates a new ProGtoldata structure in workspace.
Synopsis
#include <ProGtol.h>
ProErrorProGtoldataAlloc(
ProMdl owner
/* (In)
The model (part, assembly, or drawing) that defines the origin of ProSelection structures used in setting up gtol references. This should be a drawing if the references are acquired using ProSelect() in a drawing; otherwise it should be the same model as set with ProGtoldataModelSet().
*/
ProGtoldata* data
/* (Out)
The pointer to the workspace ProGtoldata structure. After using, free this using ProGtoldataFree().
*/
)
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 )
  2. pt_examples ( TestGtol.c )
  3. pt_userguide ( UgGtolCreate.c )