Function ProDrawingDimensionVisit
Description
Visits all dimensions stored in the specified drawing, i.e. all dimensions whose default names start with "dd", "rdd" or "add", therefore all dimensions created in the drawing when the config.pro option "create_drawing_dims_only" was set to YES.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingDimensionVisit
(
ProDrawing drawing
/* (In)
Handle of the drawing whose dimensions are to be visited.
*/
ProType type
/* (In)
*/
/* (In)
the function that gets called for each drawing dimension being visited.
*/
/* (In)
the function that gets called for each drawing 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 drawing dimensions were visited.
An error occurred while locating the dimensions.
other
Visiting was stopped by the caller supplied functions with this error return.
User Guide References
これは役に立ちましたか?