API-Dokumentation > Dimensions > Object ProDimension > Function ProDimensionEnvelopeGet
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.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDimension.h>
ProDimensionEnvelopeGet
(
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.
*/
/* (Out)
The envelope surrounding the text line, in the model's coordinate system. For drawing it is in the screen coordinates.
*/
)
Returns
The function succeeded.
One or more input arguments were invalid.
The indicated line does not exist.
User Guide References
War dies hilfreich?