Category 3D drawings and annotations, Object ProGtol

Function ProGtolEnvelopeGetWithFlags


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>
ProErrorProGtolEnvelopeGetWithFlags(
ProGtol* gtol
/* (In)
gtol.
*/
ProDrawing drawing
/* (In)
drawing. Pass only for solid gtol shown in drawing, otherwise pass NULL.
*/
ProGtolEnvelopeFlag flags
/* (In)
Gtol Envelope Flag. Pass PRO_GTOL_ENVELOPE_SKIP_OUTSIDE_TEXT to get envelope without additional texts, otherwise pass PRO_GTOL_ENVELOPE_DEFAULT.
*/
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
  3. Technical Summary of Changes for Creo 11.0.0.0: Geometric Tolerance