Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlSetdatumtagCreate


Description
Create a new datum feature symbol 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>
ProErrorProMdlSetdatumtagCreate(
ProMdl p_mdl
/* (In)
solid or drawing.
*/
ProSelection attachment
/* (In)
attachment reference.
*/
ProAnnotationPlane* annotation_plane
/* (In)
The annotation plane. If the attachment is to a dimension or gtol, can be NULL. For drawing, annotation plane should be NULL.
*/
wchar_t* label
/* (In)
label of datum feature symbol
*/
ProSetDatumTag* r_dfs
/* (Out)
new datum feature symbol
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_AMBIGUOUSThe annotation plane cannot be used in conjunction with the properties of the attachment.

Manual References:

  1. Annotations: Annotation Features and Annotations: Accessing Set Datum Tags
  2. Annotations: Annotation Features and Annotations: Accessing Set Datum Tags