Documentation de l'API > Drawings and detail > Object ProDrawing > Function ProDrawingDimensionsCleanup
Function ProDrawingDimensionsCleanup
Description
Clean up dimensions for input view if p_view is a valid view. Else, clean up dimensions view-by-view for each view of the input drawing if input p_view is NULL
NOTE: Use ProMdlDetailOptionSet() to set options before calling this API. If not used, the API will use current detail options.
Replacement in Object TOOLKIT:
Synopsis
#include <ProAnnotation.h>
ProDrawingDimensionsCleanup
(
/* (In)
Drawing to clean up dimensions for.
*/
ProView view
/* (In)
View for which dimensions should be cleaned up. If NULL, clean up the dimensions for all the views of the drawing.
*/
)
Returns
The function could successfully clean up dimensions of the drawing.
Model is in read-only state.
One or more of the input arguments are invalid.
Drawing in which dimensions will be cleaned up is not displayed in the current session.
User Guide References
Est-ce que cela a été utile ?