Category 3D drawings and annotations, Object ProGtoldata

Function ProGtoldataModelSet


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: No successor will be provided.
Description
Note: This function is deprecated. Sets the model that will contain the gtol.

NOTE: This function may not be used to modify an existing gtol by calling it with gtol data acquired by calling ProGtolEditInit().

Synopsis
#include <ProGtol.h>
ProErrorProGtoldataModelSet(
ProGtoldata data
/* (In)
The pointer to the gtol data structure
*/
ProMdl model
/* (In)
Model that contains gtol.
*/
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 model 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 )