Category 3D drawings and annotations, Object ProAnnotation

Function ProAnnotationUndisplay


Description
Sets an annotation to be erased. This change is in effect only until the next regeneration or a corresponding call to ProAnnotationDisplay. The target model (owner , comp_path->owner, or drawing) must be the current model.
Synopsis
#include <ProAnnotation.h>
ProErrorProAnnotationUndisplay(
ProAnnotation* annotation
/* (In)
The annotation (note, gtol, surface finish, symbol, ref. dim., driven dim, dimension).
*/
ProAsmcomppath* comp_path
/* (In)
The assembly component path. Pass NULL when not required.
*/
ProDrawing drawing
/* (In)
The drawing that displays the annotation. Pass NULL to undisplay the annotation from a solid model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_GENERAL_ERRORThe target model is not the current model.
PRO_TK_NO_LICENSELicense check failure.

Manual References:

  1. Annotations: Annotation Features and Annotations: Access to Annotations
  2. Annotations: Annotation Features and Annotations: Access to Annotations
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0

Sample Code References:

  1. pt_af_examples ( PTAFExNotesToPlane.c )
  2. pt_af_examples ( PTAFNotesUpdate.c )
  3. pt_examples ( TestDimension.c )
  4. pt_examples ( TestDimension.c )