Category 3D drawings and annotations, Object ProDimension

Function ProDimensionEnvelopeGet


Description
Get the envelope of a line in a specified dimension. For getting coordinates of dimension displayed in solid and same dimension is displayed in drawing then drawing should not be active.
Synopsis
#include <ProDimension.h>
ProErrorProDimensionEnvelopeGet(
ProDimension* dimension
/* (In)
dimension.
*/
ProDrawing drawing
/* (In)
drawing. Pass only for solid dim shown in drawing. Otherwise pass NULL.
*/
int line_number
/* (In)
The line number of the dimension. If PRO_VALUE_UNUSED, it will give full dimension envelope.
*/
ProLineEnvelope envelope
/* (Out)
The envelope surrounding the text line, in the model's coordinate system. For drawing it is in the screen coordinates.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments were invalid.
PRO_TK_E_NOT_FOUNDThe indicated line does not exist.

Manual References:

  1. Annotations: Annotation Features and Annotations: Modifying Dimensions
  2. Annotations: Annotation Features and Annotations: Modifying Dimensions