Category 3D drawings and annotations, Object ProAnnotation

Function ProAnnotationErase


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProCombstateAnnotationErase
Description
Sets an annotation to be erased. This changes the model database to not show the annotation until it is explicitly shown again. Note: Annotation will be erased from all combined state. You can use ProCombstateAnnotationErase() to erase annotation from particular combined state.
Synopsis
#include <ProAnnotation.h>
ProErrorProAnnotationErase(
ProAnnotation* annotation
/* (In)
The annotation (note, gtol, surface finish, symbol, ref. dim., driven dim, dimension).

Note: regular dimensions may only be erased from a drawing.

*/
ProDrawing drawing
/* (In)
The drawing that shows the annotation. Pass NULL to erase the annotation in the solid model.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_NO_CHANGEThe annotation is not shown in the target model.
PRO_TK_NO_LICENSELicense check failure.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Annotations

Sample Code References:

  1. pt_examples ( TestDimension.c )