API Documentation > 3D drawings and annotations > Object ProGtol > Function ProGtolEnvelopeGetWithFlags
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>
ProGtolEnvelopeGetWithFlags
(
ProGtol* gtol
/* (In)
gtol.
*/
ProDrawing drawing
/* (In)
drawing. Pass only for solid gtol shown in drawing, otherwise pass NULL.
*/
/* (In)
Gtol Envelope Flag. Pass PRO_GTOL_ENVELOPE_SKIP_OUTSIDE_TEXT to get envelope without additional texts, otherwise pass PRO_GTOL_ENVELOPE_DEFAULT.
*/
/* (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
The function succeeded.
One or more input arguments were invalid.
The gtol in the solid is not placed on an annotation plane.
User Guide References
Was this helpful?