API 文件集 > External objects > Object ProExtobj > Function ProExtobjVisit
Function ProExtobjVisit
Description
Performs an action on several external objects.
Synopsis
#include <ProExtobj.h>
ProExtobjVisit
(
ProMdl model
/* (In)
The handle to the model.
*/
ProExtobjClass* extobjclass
/* (In)
The handle to the external object class.
*/
/* (In)
The action to perform on each external object. If the function returns anything other than PRO_TK_NO_ERROR, visiting ends.
*/
ProExtobjFilterAction filter_action
/* (In)
The filter function. If NULL, all external objects are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the visiting and action functions.
*/
)
Returns
The function successfully visited all the parameters.
The function could not find the needed objects.
One or more of the input arguments are invalid.
The owner was not found.
Other
The action function returned an error.
Sample Code References
User Guide References
這是否有幫助?