Category Solids and parts, Object ProSolid

Function ProSolidXsecVisit


Description
Visit all cross-sections in the specified solid. This function visits only "named" cross sections.
Replacement in Object TOOLKIT: pfcSolid::ListCrossSections
pfcSolid::GetCrossSection
Synopsis
#include <ProXsec.h>
ProErrorProSolidXsecVisit(
ProSolid solid
/* (In)
The solid handle
*/
ProSolidXsecVisitAction visit_action
/* (In)
The visiting function; visiting stops if this function does not return PRO_TK_NO_ERROR.
*/
ProAppData caller_data
/* (In)
Application data passed to the visit function
*/
)
Returns
PRO_TK_NO_ERRORCross-sections successfully visited.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDModel doesn't have cross-sections.
OtherValue returned by the action function; visiting stops.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Cross Sections: Visiting Cross Sections
  3. Core: Cross Sections: Visiting Cross Sections

Sample Code References:

  1. pt_examples ( UtilCollect.c )
  2. pt_userguide ( UgXsecList.c )