Documentación de la API > View manager > Object ProSimprepdataitem > Function ProSimprepdataitemsVisit
Function ProSimprepdataitemsVisit
Description
Visits the items in the ProSimprepdata structure and executes the user-supplied action function.
NOTE:
Operates on assemblies only, not parts.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSimprepdata.h>
ProSimprepdataitemsVisit
(
/* (In)
The handle to the ProSimprepdata structure.
*/
/* (In)
The filter function. If NULL, all items are visited using the action function.
*/
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProAppData app_data
/* (In)
The application data passed to the filter and visiting functions.
*/
)
Returns
The function visited all the items.
One or more of the input arguments are invalid.
Other
Any other value is the value returned by the action function (visiting stopped).
Sample Code References
User Guide References
¿Fue esto útil?