Documentation de l'API > Solids and parts > Object ProSolid > Function ProSolidApprnstateVisit
Function ProSolidApprnstateVisit
Description
Visits all the appearance states in the specified solid.
Synopsis
#include <ProApprnstate.h>
ProSolidApprnstateVisit
(
ProSolid p_solid
/* (In)
The solid handle.
*/
/* (In)
The filter function. If NULL, all items are visited using the action function.
*/
/* (In)
The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProAppData app_data
/* (In)
The application data passed to the filter and visiting functions.
*/
)
Returns
The function successfully visited all the appearance states.
Either no appearance state 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).
User Guide References
Est-ce que cela a été utile ?