Category 3D drawings and annotations, Object ProAnnotation

Function ProAnnotationNeedsConversion


Description
Returns if the annotation is created before Creo 4.0 or is created using deprecated APIs ProGtolCreate or ProSetdatumtagCreate and needs conversion. Call ProAnnotationLegacyConvert() only if this API returns true.
Synopsis
#include <ProAnnotation.h>
ProErrorProAnnotationNeedsConversion(
ProAnnotation* annotation
/* (In)
The annotation ( gtol, ref. dim., driven dim, set datum tag, datum target ).
*/
ProBoolean* needs_conversion
/* (Out)
PRO_B_TRUE if the annotation needs conversion PRO_B_FALSE if the annotatio is already converted
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
See Also
ProAnnotationLegacyConvert

Manual References:

  1. Annotations: Annotation Features and Annotations: Converting Annotations to Latest Version
  2. Annotations: Annotation Features and Annotations: Converting Annotations to Latest Version