Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlGtolVisit


Description
Visits all gtols stored in the specified model.
Synopsis
#include <ProMdl.h>
ProErrorProMdlGtolVisit(
ProMdl model
/* (In)
The model that contains the gtols to be visited
*/
ProGtolVisitAction visit_action
/* (In)
The visit action function
*/
ProGtolFilterAction filter_action
/* (In)
The filter action. If NULL, all gtols are visited using the action function.
*/
ProAppData data
/* (In)
Pointer to application-specific data to be passed to the action functions.
*/
)
Returns
PRO_TK_NO_ERRORThe function visited all the items.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_GENERAL_ERRORVisiting was stopped by the return from the visit action.
PRO_TK_E_NOT_FOUNDThere are no valid gtols in the model.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Annotations: Geometric Tolerances: Visiting Geometric Tolerances

Sample Code References:

  1. pt_examples ( TestGtol.c )