API Documentation > Solids and parts > Object ProSolid > Function ProSolidAxisVisit
Function ProSolidAxisVisit
Description
Visits all the axes in the specified ProSolid.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSolid.h>
ProSolidAxisVisit
(
ProSolid p_handle
/* (In)
The solid handle.
*/
ProAxisVisitAction visit_action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProAxisFilterAction filter_action
/* (In)
The filter function. If NULL, all axes 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 axes.
Either no axes 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).
Sample Code References
User Guide References
Was this helpful?