Category Solids and parts, Object ProSolid

Function ProSolidAxisVisit


Description
Visits all the axes in the specified ProSolid.
Synopsis
#include <ProSolid.h>
ProErrorProSolidAxisVisit(
ProSolid p_handle
/* (In)
The solid handle.
*/
ProAxisVisitAction visit_action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProAxisFilterAction filter_action
/* (In)
The filter function. If NULL, all axes are visited 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 axes.
PRO_TK_E_NOT_FOUNDEither no axes exist, or they were all filtered out by the filter function.
OtherAny other value is the value returned by the action function (visiting stopped).

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Fundamentals: Example 3: Listing Holes in a Model
  3. Core: 3D Geometry: Visiting Solid Geometry
  4. Core: 3D Geometry: Visiting Solid Geometry
  5. Core: Solids, Parts, and Materials: Contents of a Solid
  6. Core: Solids, Parts, and Materials: Contents of a Solid

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( UtilCollect.c )
  3. pt_examples ( UtilCollect.c )
  4. pt_examples ( UtilCollect.c )
  5. pt_userguide ( UgFundVisit.c )