Category Curve and surface collection, Object ProCollectioninstr

Function ProCollectioninstrRefVisit


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.

To visit all the references in a ProCollectioninstr object.

Synopsis
#include <ProCollect.h>
ProErrorProCollectioninstrRefVisit(
ProCollectioninstr instruction
/* (In)
The collection instruction object
*/
ProCollectionrefAction action
/* (In)
The action function to be called for each reference
*/
ProCollectionrefFilter filter
/* (In)
The filter function to be called for each reference. If NULL, visits all references using the action function.
*/
ProAppData app_data
/* (In)
A pointer to any data to be passed down to the filter and action functions.
*/
)
Returns
PRO_TK_NO_ERRORFinished visiting all the references.
PRO_TK_BAD_INPUTSInvalid arguments, or no references found.
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