Category Assembly, Object ProAsmcomppath

Function ProAsmcomppathDispPointVisit


Description
Visits all the displayed datum points in the solid handle.
Replacement in Object TOOLKIT: wfcWComponentPath::ListDisplayedPoints
Synopsis
#include <ProAsmcomppath.h>
ProErrorProAsmcomppathDispPointVisit(
ProAsmcomppath* p_path
/* (In)
The solid handle's assembly component path.
*/
ProSolid handle
/* (In)
The solid handle. Passed in for performance reasons.
*/
ProPointFilterAction filter_action
/* (In)
The filter function. If NULL, visits all items using the action function.
*/
ProPointVisitAction visit_action
/* (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
PRO_TK_NO_ERRORThe function successfully visited all the items.
PRO_TK_E_NOT_FOUNDEither no displayed datum points exist, or they were all filtered out by the filter function.
OtherAny other value is the value returned by the action function (visiting stopped).

Manual References:

  1. Core: Models and Model Items: Visiting Displayed Entities