Category Solids and parts, Object ProSolid

Function ProSolidExpldstateVisit


Description
Visits all the explode states in the specified solid, but does not visit the default state.
Synopsis
#include <ProExpldstate.h>
ProErrorProSolidExpldstateVisit(
ProSolid p_solid
/* (In)
The model containing the explode states.
*/
ProGeomitemAction action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProGeomitemFilter filter
/* (In)
The filter function. If NULL, visits all explode states using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the filter and visiting functions.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully visited all the explode states.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
OtherAny other valus is the value returned by the action function (visiting stopped).

Manual References:

  1. Assembly: Basic Assembly Access: Visiting Exploded States

Sample Code References:

  1. pt_examples ( UtilCollect.c )