Object ProDatumtarget

Function ProDatumtargetAnnotationfeatureCreate


Description
Creates a new datum target annotation feature in the model.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationFeat.h>
ProErrorProDatumtargetAnnotationfeatureCreate(
ProSelection model
/* (In)
The part on which the feature is being created. If the feature is created in an assembly, component path must be specified.
*/
ProBoolean use_ui
/* (In)
PRO_B_TRUE to invoke the datum target annotation feature creation User Interface. PRO_B_FALSE to create a feature automatically.
*/
ProFeature* p_feat
/* (Out)
The new datum target annotation feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_USER_ABORTThe user cancelled the feature creation (if use_ui = TRUE).
PRO_TK_BAD_CONTEXTThe owner is not the current model (if use_ui = TRUE).

Manual References:

  1. Annotations: Annotation Features and Annotations: Creating Annotation Features