Category Solids and parts, Object ProSolid

Function ProSolidFeatVisit


Description
Visits all the features in the specified solid.

NOTE: Internal features are also visited. Use ProFeatureVisibilityGet() to filter/skip them if required.

Replacement in Object TOOLKIT: wfcWSolid::VisitItems
wfcWAssembly::VisitComponents
Synopsis
#include <ProSolid.h>
ProErrorProSolidFeatVisit(
ProSolid p_handle
/* (In)
The solid handle.
*/
ProFeatureVisitAction visit_action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProFeatureFilterAction filter_action
/* (In)
The filter function. If NULL, all features in the specified solid 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 features.
PRO_TK_E_NOT_FOUNDEither no features exist, or they were all filtered out by the filter function.
OtherAny other value is the value returned by the action function (visiting stopped).
See Also
ProFeatureVisibilityGet

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. Assembly: Basic Assembly Access: Structure of Assemblies and Assembly Objects
  4. Assembly: Basic Assembly Access: Visiting Assembly Components
  5. Assembly: Basic Assembly Access: Visiting Assembly Components
  6. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  7. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  8. Core: Features: Visiting Features
  9. Core: Features: Feature Inquiry
  10. Fundamentals: Expandable Arrays
  11. Fundamentals: Visit Functions
  12. Core: 3D Geometry: Visiting Feature Geometry
  13. Core: 3D Geometry: Visiting Feature Geometry
  14. Core: 3D Geometry: Visiting Solid Geometry
  15. Core: 3D Geometry: Visiting Solid Geometry
  16. Core: 3D Geometry: Visiting Solid Geometry
  17. Core: 3D Geometry: Visiting Solid Geometry
  18. Core: 3D Geometry: Visiting Solid Geometry
  19. Core: 3D Geometry: Visiting Solid Geometry
  20. Production Applications: Manufacturing: Manufacturing Models
  21. Production Applications: Manufacturing: Identifying the Storage Solid
  22. Event-driven Programming: Notifications: Model and Feature Modification Events
  23. Core: Solids, Parts, and Materials: Contents of a Solid
  24. Core: Solids, Parts, and Materials: Contents of a Solid
  25. Annotations: Annotation Features and Annotations: Visiting Annotation Features
  26. Annotations: Annotation Features and Annotations: Visiting Annotation Features
  27. Core: Asynchronous Mode: Simple Asynchronous Mode

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestExtrefInfo.c )
  3. pt_examples ( TestExtrefInfo.c )
  4. pt_examples ( TestExtrefInfo.c )
  5. pt_examples ( TestDtmPln.c )
  6. pt_examples ( TestExtrude.c )
  7. pt_examples ( UtilCollect.c )
  8. pt_examples ( UtilCollect.c )
  9. pt_examples ( UtilCollect.c )
  10. pt_examples ( UtilVisit.c )
  11. pt_examples ( UtilVisit.c )
  12. pt_examples ( UtilVisit.c )
  13. pt_examples ( UtilVisit.c )
  14. pt_geardesign ( GearDesignUtils.c )
  15. pt_mfg_proctable ( PTMfgProcTable.c )
  16. pt_userguide ( UgAsmCompVisit.c )
  17. pt_userguide ( UgAsmCompVisit.c )
  18. pt_userguide ( UgDrawingDimensions.c )
  19. pt_userguide ( UgDwgtableExamples.c )
  20. pt_userguide ( UgFundExpArrays.c )
  21. pt_userguide ( UgMfgMillSeqCreate.c )
  22. pt_userguide ( UgMfgOperCreate.c )
  23. pt_userguide ( UgMfgWcellIdentify.c )