Category 3D drawings and annotations, Object ProGtol

Function ProGtolEnvelopeGet


Description
Get the envelope of gtol. For getting coordinates of gtol displayed in solid and same gtol is displayed in drawing then drawing should not be active.
Synopsis
#include <ProGtol.h>
ProErrorProGtolEnvelopeGet(
ProGtol* gtol
/* (In)
gtol.
*/
ProDrawing drawing
/* (In)
drawing. Pass only for solid gtol shown in drawing, otherwise pass NULL.
*/
ProLineEnvelope envelope
/* (Out)
The envelope surrounding the gtol, in the model's coordinate system. For Flat to Screen Gtol, envelope will be in screen co-ordinates. For drawing it is in the screen coordinates. For additional texts, there won't be any padding.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments were invalid.

Manual References:

  1. Annotations: Geometric Tolerances: Attaching the Geometric Tolerances
  2. Annotations: Geometric Tolerances: Attaching the Geometric Tolerances