API 文件集 > Solids and parts > Object ProSolid > Function ProSolidCsysVisit
Function ProSolidCsysVisit
Description
Visits all the coordinate systems in the specified solid.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSolid.h>
ProSolidCsysVisit
(
ProSolid p_handle
/* (In)
The solid handle.
*/
ProCsysVisitAction visit_action
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProCsysFilterAction filter_action
/* (In)
The filter function. If NULL, all items 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 items.
Either no coordinate systems 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
這是否有幫助?