Category Solids and parts, Object ProSolid

Callback ProSolidDispCompVisitAction


Description
This is used to visit assembly components. If it returns anything other than PRO_TK_NO_ERROR, assembly traversal stops.
Synopsis
#include <ProSolid.h>
ProError(*ProSolidDispCompVisitAction)(
ProAsmcomppath* p_path
/* (In)
The assembly component path
*/
ProSolid handle
/* (In)
The component solid handle
*/
ProBoolean down
/* (In)
Use PRO_B_TRUE when going down to this component and PRO_B_FALSE when going up from this component.
*/
ProAppData app_data
/* (In)
The application data passed to the function ProSolidDispCompVisit()
*/
)
Returns
PRO_TK_NO_ERRORContinue visiting.
Any other valueStop visiting and return this error from the visit function.