| Description |
| Visits all the user-defined simplified representations in the specified solid. This will not visit built-in representations. |
| Synopsis |
| #include <ProSimprep.h> |
| ProError | ProSolidSimprepVisit | ( |
| ProSolid p_solid | |
| /*
(In) |
| The solid. |
| */ |
| ProGeomitemFilter filter | |
| /*
(In) |
| The filter function. If NULL, all representations are visited using the action function. |
| */ |
| ProGeomitemAction action | |
| /*
(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 |
|
| PRO_TK_NO_ERROR | | The function successfully visited all the simplified representations. |
| PRO_TK_BAD_INPUTS | | One or more of the arguments are invalid. |
| PRO_TK_E_NOT_FOUND | | No simplified representations were found. |
| Other | | Any other value is the value returned by the action function (visiting stopped). |
|