Category Features, Object ProFeature

Function ProFeatureGeomitemVisit


Description
Visits all the geometry items created by the specified feature.

The valid item types are as follows:

Replacement in Object TOOLKIT: pfcFeature::ListSubItems
Synopsis
#include <ProFeature.h>
ProErrorProFeatureGeomitemVisit(
ProFeature* p_feat_handle
/* (In)
The feature handle.
*/
ProType item_type
/* (In)
The type of items to visit.
*/
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, all items are visited using the action function. ProFeatureGeomitemVisit() will stop visiting if PRO_TK_GENERAL_ERROR is returned by the filter.
*/
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_BAD_INPUTSOne or more arguments was invalid.
OtherThe action function returned a value other than PRO_TK_NO_ERROR and visiting stopped.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Techniques of Conversion and Mixing
  2. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  3. Annotations: Designated Area Feature: Introduction to Designated Area Feature
  4. Element Trees: ECAD Area Feature: Introduction to ECAD Area Feature
  5. Core: Features: Feature Geometry
  6. Core: 3D Geometry: Visiting Feature Geometry
  7. Core: 3D Geometry: Visiting Feature Geometry
  8. Core: 3D Geometry: Visiting Solid Geometry
  9. Core: 3D Geometry: Visiting Solid Geometry
  10. Core: 3D Geometry: Visiting Solid Geometry
  11. Core: 3D Geometry: Visiting Solid Geometry
  12. Core: 3D Geometry: Visiting Solid Geometry
  13. Core: 3D Geometry: Visiting Solid Geometry
  14. Production Applications: Manufacturing: Creating Operations
  15. Production Applications: Manufacturing: Creating NC Sequences
  16. Event-driven Programming: Notifications: Model and Feature Modification Events

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestPatternCreate.c )
  3. pt_examples ( TestPatternCreate.c )
  4. pt_examples ( UtilCollect.c )
  5. pt_examples ( UtilCollect.c )
  6. pt_examples ( UtilVisit.c )
  7. pt_geardesign ( GearDesign.c )
  8. pt_geardesign ( GearDesignUtils.c )
  9. pt_geardesign ( GearDesignUtils.c )
  10. pt_geardesign ( GearDesignUtils.c )
  11. pt_userguide ( UgDrawingDimensions.c )
  12. pt_userguide ( UgDwgtableExamples.c )
  13. pt_userguide ( UgGeomHoleSrfDisp.c )
  14. pt_userguide ( UgMfgMillSeqCreate.c )
  15. pt_userguide ( UgMfgMillSeqCreate.c )
  16. pt_userguide ( UgMfgMillSeqCreate.c )
  17. pt_userguide ( UgMfgMillSeqCreate.c )
  18. pt_userguide ( UgMfgOperCreate.c )