Documentación de la API > Solids and parts > Object ProSolid > Function ProSolidDimensionVisit
Function ProSolidDimensionVisit
Description
Visits all dimensions stored in the specified solid. i.e. all dimensions whose default names are of the form "d#", "rd#" or "ad#". This includes dimensions created in drawing mode when the config.pro option "create_drawing_dims_only" was set to NO (the default).
Replacement in Object TOOLKIT:
Synopsis
#include <ProSolid.h>
ProSolidDimensionVisit
(
ProSolid solid
/* (In)
Handle of the solid (part or assembly) whose dimensions are to be visited.
*/
ProBoolean refdim
/* (In)
TRUE if the reference dimensions are to be visited, FALSE for standard dimensions.
*/
/* (In)
the function that gets called for each solid dimension being visited.
*/
/* (In)
the function that gets called for each solid dimension. This function decides whether the dimension should be visited or skipped. If NULL, all dimensions are visited using the action function.
*/
/* (In)
caller-specified data that gets passed to the action and filter functions.
*/
)
Returns
The function successfully visited all the model's dimensions.
The function failed because one or more of the input arguments are invalid.
No model dimensions were visited.
An error occurred while locating the dimensions.
other
Visiting was stopped by the caller supplied functions with this error return.
Sample Code References
User Guide References
¿Fue esto útil?