API 文档 > Creo Parametric fundamentals > Object ProMdl > Function ProMdlSetdatumtagCreate
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.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProSetDatumTag.h>
ProMdlSetdatumtagCreate
(
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
*/
/* (Out)
new datum feature symbol
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The annotation plane cannot be used in conjunction with the properties of the attachment.
这对您有帮助吗?