Category Curve and surface collection, Object ProCollection

Function ProCollectionInstrVisit


DEPRECATED: Since Wildfire 4.0
SUPERSEDED BY: Depends on the context, consult the user documentation.
Description
Note: This function accesses an older version of the ProCollection interface. It has been superseded. Please consult the Creo Parametric TOOLKIT user's guide chapter on "Collections" for more information.

Visit the instructions in a collection

Synopsis
#include <ProCollect.h>
ProErrorProCollectionInstrVisit(
ProCollection collection
/* (In)
The collection
*/
ProCollectioninstrFilter filter
/* (In)
Filter function for instructions. If NULL, visits all instructions using the action function.
*/
ProCollectioninstrAction action
/* (In)
Action function to be called for each instruction.
*/
ProAppData app_data
/* (In)
Pointer to data to be passed to filter and action functions.
*/
)
Returns
PRO_TK_NO_ERRORFinished visiting all the instructions.
PRO_TK_BAD_INPUTSInvalid arguments, or the collection contained no items.
PRO_TK_OBSOLETE_FUNCA newer type of ProCollection was passed.
OtherThe value returned from the last call to the action function.

Manual References:

  1. User Interface: Curve and Surface Collection: Programmatic Access to Legacy Collections