Category Solids and parts, Object ProSolid

Function ProSolidDispCompVisit


Description
Visits all the displayed components in the solid handle.
Replacement in Object TOOLKIT: wfcWAssembly::ListDisplayedComponents
Synopsis
#include <ProSolid.h>
ProErrorProSolidDispCompVisit(
ProSolid handle
/* (In)
The solid handle.
*/
ProSolidDispCompVisitAction visit_action
/* (In)
Visiting function applied to a displayed component solid. See comments for ProSolidDispCompVisitAction.
*/
ProSolidDispCompFilterAction filter_action
/* (In)
The filter function. If NULL, all displayed components in the solid handle are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data to be passed to the filter and visiting functions.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully visited all the solids.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
OtherAny other value returned by the visit action (visiting stopped).

Manual References:

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

Sample Code References:

  1. pt_wc_server ( PTWCServerPartToPView.c )