Category Solids and parts, Object ProSolid

Function ProSolidCsysVisit


Description
Visits all the coordinate systems in the specified solid.
Synopsis
#include <ProSolid.h>
ProErrorProSolidCsysVisit(
ProSolid p_handle
/* (In)
The solid handle.
*/
ProCsysVisitAction visit_action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProCsysFilterAction filter_action
/* (In)
The filter function. If NULL, all items 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 items.
PRO_TK_E_NOT_FOUNDEither no coordinate systems 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. Core: 3D Geometry: Visiting Solid Geometry
  3. Core: 3D Geometry: Visiting Solid Geometry
  4. Core: Solids, Parts, and Materials: Contents of a Solid
  5. Core: Solids, Parts, and Materials: Contents of a Solid

Sample Code References:

  1. pt_examples ( UtilCollect.c )
  2. pt_examples ( UtilCollect.c )
  3. pt_userguide ( UtilCsys.c )