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 Parametric TOOLKIT Function Mapping: Techniques of Conversion and Mixing
  2. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  3. Core: Solids, Parts, and Materials: Contents of a Solid
  4. Core: Solids, Parts, and Materials: Contents of a Solid
  5. Event-driven Programming: Notifications: Model and Feature Modification Events
  6. Production Applications: Manufacturing: Manufacturing Models
  7. Production Applications: Manufacturing: Identifying the Storage Solid
  8. Core: Features: Visiting Features
  9. Core: Features: Feature Inquiry
  10. Fundamentals: Expandable Arrays
  11. Fundamentals: Visit Functions
  12. Assembly: Basic Assembly Access: Structure of Assemblies and Assembly Objects
  13. Assembly: Basic Assembly Access: Visiting Assembly Components
  14. Assembly: Basic Assembly Access: Visiting Assembly Components
  15. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  16. Production Applications: NC Process Manager: Example 3: To Update Feed and Spindle Speed
  17. Core: 3D Geometry: Visiting Feature Geometry
  18. Core: 3D Geometry: Visiting Feature Geometry
  19. Core: 3D Geometry: Visiting Solid Geometry
  20. Core: 3D Geometry: Visiting Solid Geometry
  21. Core: 3D Geometry: Visiting Solid Geometry
  22. Core: 3D Geometry: Visiting Solid Geometry
  23. Core: 3D Geometry: Visiting Solid Geometry
  24. Core: 3D Geometry: Visiting Solid Geometry
  25. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  26. Annotations: Annotation Features and Annotations: Visiting Annotation Features
  27. Annotations: Annotation Features and Annotations: Visiting Annotation Features
  28. 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 )