API 文档 > Solids and parts > Object ProSolid > Function ProSolidRelsetVisit
Function ProSolidRelsetVisit
Description
Visits all the relation sets owned by the specified model. Currently, the supported model types are PRO_PART, PRO_ASSEMBLY and PRO_DRAWING.
Synopsis
#include <ProRelSet.h>
ProSolidRelsetVisit
(
ProMdl model
/* (In)
The model that owns the relations
*/
/* (In)
The supplied function to be invoked for each relation set
*/
ProAppData caller_data
/* (In)
The user-supplied data
*/
)
Returns
The function successfully visited all the relation sets owned by the model.
Other
Visiting stopped due to the error returned by user-supplied visiting function, or some other internal error.
Sample Code References
User Guide References
这对您有帮助吗?