Category 3D drawings and annotations, Object ProDimension

Function ProDimensionAutoOrdinateCreate


Description
Creates ordinate dimensions in a drawing.
Synopsis
#include <ProDimension.h>
ProErrorProDimensionAutoOrdinateCreate(
ProDrawing drawing
/* (In)
Target drawing (This must be displayed in the window.)
*/
ProSelection* surface_array
/* (In)
The array of parallel surfaces to be dimensioned. It must be a ProArray of ProSelection. Selections must contain view information. Use ProSelectionViewSet() to set view. All selections must be from same view and same solid.
*/
ProSelection baseline
/* (In)
Reference for creating baseline dimension. Valid types are PRO_EDGE,PRO_DATUM_PLANE,PRO_CURVE
*/
ProDimension** dimensions
/* (Out)
ProArray of created dimensions. This is a ProArray. Use ProArrayFree to free it from memory.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the ordinate dimensions.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProMdlDisplay
ProSelectionViewSet

Manual References:

  1. Annotations: Annotation Features and Annotations: Accessing Ordinate and Baseline Dimensions