User's Guide > Annotations: Annotation Features > Creating Annotation Features
Creating Annotation Features
 
Functions Introduced:
ProAnnotationfeatCreate()
ProDatumtargetAnnotationfeatureCreate()
The function ProAnnotationfeatCreate() creates a new annotation feature in the model. Specify the following as the input parameters for this function:
model—Specify the solid model on which the feature will be created. Specify the component path if the feature is created in an assembly context.
use_ui—Specifies a boolean flag that determines how the annotation features will be created. It can have the following values:
FALSE—Indicates that the feature will be a new empty annotation feature with one general annotation element in it. Modify the new annotation element and add others using subsequent steps.
TRUE—Indicates that will invoke the annotation feature creation user interface.
The function ProDatumtargetAnnotationfeatureCreate() creates a new Datum Target Annotation Feature (DTAF) in the model. This function takes the same input arguments as the earlier function ProAnnotationfeatCreate().
這是否有幫助?