Category Solids and parts, Object ProSolid

Function ProSolidCompdisplayVisit


Description
Similar to ProSolidSimprepVisit, except this is for Comp Displays.
Replacement in Object TOOLKIT: wfcWSolid::ListStyleStateItems
Synopsis
#include <ProSimprep.h>
ProErrorProSolidCompdisplayVisit(
ProSolid p_solid
/* (In)
The solid.
*/
ProGeomitemFilter filter
/* (In)
The filter function. If NULL, all items are visited using the action function.
*/
ProGeomitemAction 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 Comp Displays.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_E_NOT_FOUNDNo Comp Displays were found.
OtherAny other value is the value returned by the action function (visiting stopped).