API 文件集 > Curve and surface collection > Object ProCollection > Function ProCollectionInstrVisit
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>
ProCollectionInstrVisit
(
ProCollection collection
/* (In)
The collection
*/
/* (In)
Filter function for instructions. If NULL, visits all instructions using the action function.
*/
/* (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
Finished visiting all the instructions.
Invalid arguments, or the collection contained no items.
A newer type of ProCollection was passed.
Other
The value returned from the last call to the action function.
User Guide References
這是否有幫助?