API Documentation > Solids and parts > Object ProSolid > Function ProSolidSurfaceVisit
Function ProSolidSurfaceVisit
DEPRECATED:
Since Creo 7.0
Description
Visits all the surfaces in the specified solid.
Note: This API will not work on solid having more than one body. Use ProSolidBodySurfaceVisit() for multi-body parts.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSolid.h>
ProSolidSurfaceVisit
(
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 surfaces are 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 surfaces.
Either no surfaces exist, or they were all filtered out by the filter function.
model has more than 1 body.
Other
Any other value is the value returned by the action function (visiting stopped).
User Guide References
Was this helpful?