API 文件集 > Solids and parts > Object ProSolid > Function ProSolidFeatVisit
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:
Synopsis
#include <ProSolid.h>
ProSolidFeatVisit
(
ProSolid p_handle
/* (In)
The solid handle.
*/
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
/* (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
The function successfully visited all the features.
Either no features exist, or they were all filtered out by the filter function.
Other
Any other value is the value returned by the action function (visiting stopped).
See Also
Sample Code References
User Guide References
這是否有幫助?