Category Assembly, Object ProProcstep

Function ProProcstepVisit


Description
Visits all the process steps in the specified solid.
Synopsis
#include <ProProcstep.h>
ProErrorProProcstepVisit(
ProSolid p_solid
/* (In)
The solid.
*/
ProGeomitemAction action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProGeomitemFilter filter
/* (In)
The filter function. If NULL, all process steps are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the filter and visiting functions.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully visited all the process steps.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_E_NOT_FOUNDNo process steps were found.
OtherAny other value is the value returned by the action function (visiting stopped).

Manual References:

  1. Production Applications: Process Planning: Visiting Process Steps

Sample Code References:

  1. pt_examples ( UtilCollect.c )