Category Solids and parts, Object ProSolid

Function ProSolidRelsetVisit


Description
Visits all the relation sets owned by the specified model. Currently, the supported model types are PRO_PART, PRO_ASSEMBLY and PRO_DRAWING.
Synopsis
#include <ProRelSet.h>
ProErrorProSolidRelsetVisit(
ProMdl model
/* (In)
The model that owns the relations
*/
ProSolidRelsetVisitAction action
/* (In)
The supplied function to be invoked for each relation set
*/
ProAppData caller_data
/* (In)
The user-supplied data
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully visited all the relation sets owned by the model.
OtherVisiting stopped due to the error returned by user-supplied visiting function, or some other internal error.

Manual References:

  1. Core: Relations: Relations
  2. Core: Relations: Relations

Sample Code References:

  1. pt_examples ( UtilCollect.c )