Category 3D drawings and annotations, Object ProAnnotation

Function ProAnnotationElementGet


Description
Gets the annotation element that contains a given annotation.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotation.h>
ProErrorProAnnotationElementGet(
ProAnnotation* annotation
/* (In)
The annotation (note, gtol, surface finish, symbol, ref. dim, driven dim).
*/
ProAnnotationElem* element
/* (Out)
The annotation element that contains the annotation.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_E_NOT_FOUNDThe annotation is not contained in any annotation element.
PRO_TK_NOT_EXISTThe annotation element owner of the annotation does not exist.

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Annotations: Annotation Features and Annotations: Access to Annotations
  3. Annotations: Annotation Features and Annotations: Access to Annotations