| Description |
| Visits dimensions belonging to the feature. NOTE: The dimensions values might depend on other feature?s dimensions, e.g. sketch based features with shared/patterned or external sections, dependent copied or mirrored features. In many Creo operations such value dependent dimensions are automatically substituted by the parent dimension. If your application wishes to substitute value dependent dimensions by the parent, see ProDimensionParentGet(). |
| Synopsis |
| #include <ProFeature.h> |
| ProError | ProFeatureDimensionVisit | ( |
| ProFeature* feature | |
| /*
(In) |
| The feature |
| */ |
| ProDimensionVisitAction visit | |
| /*
(In) |
| The visit function |
| */ |
| ProDimensionFilterAction filter | |
| /*
(In) |
| The filter function. If NULL, all dimensions are visited using the action function. |
| */ |
| ProAppData data | |
| /*
(In) |
| User defined data passed to the visit and filter functions. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully visited all the feature's dimensions. |
| PRO_TK_BAD_INPUTS | | The function failed because one or more of the input arguments are invalid. |
| PRO_TK_E_NOT_FOUND | | No feature dimensions were visited. |
| PRO_TK_GENERAL_ERROR | | An error occurred while locating the dimensions. |
| other | | Visiting was stopped by the caller supplied functions with this error return. |
|