Category 3D drawings and annotations, Object ProSetdatumtag

Function ProSetdatumtagCreate


DEPRECATED: Since Creo 4.0
SUPERSEDED BY: ProMdlSetdatumtagCreate
Description
Create a new set datum tag annotation. ProAnnotationShow() should be called after creating the annotation in order for the annotation to be displayed.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProSetDatumTag.h>
ProErrorProSetdatumtagCreate(
ProGeomitem* reference
/* (In)
The set datum tag annotation reference.
*/
ProAnnotationPlane* annotation_plane
/* (In)
The annotation plane. If the attachment is to a dimension or gtol, can be NULL.
*/
ProSelection attachment
/* (In)
The attachment location, for set datum tags on geometry. Can be NULL.
*/
ProSetDatumTag* tag
/* (Out)
The new set datum tag.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_INVALID_TYPEInvalid reference type for a set datum.
PRO_TK_E_AMBIGUOUSThe annotation plane cannot be used in conjunction with the properties of the reference item or attachment.
PRO_TK_E_FOUNDThe geometry reference is already a set datum.

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Annotations
  2. Technical Summary of Changes for Creo 4.0 F000: Set Datum - Datum Feature Symbol
  3. Technical Summary of Changes for Creo 4.0 M090: Annotations
  4. Annotations: Annotation Features and Annotations: Converting Annotations to Latest Version
  5. Annotations: Annotation Features and Annotations: Accessing Set Datum Tags