Category 3D drawings and annotations, Object ProAnnotationfeat

Function ProAnnotationfeatElementArrayAdd


Description
Adds a series of new elements to the annotation feature. Each element may be created as general, or may contain a preexisting annotation. if feature is datum target annotation feature only one set datum tag annotation can be added.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationFeat.h>
ProErrorProAnnotationfeatElementArrayAdd(
ProSelection feature
/* (In)
The annotation feature. If the feature belongs to an assembly, component path must be specified.
*/
ProBoolean allow_fix_ui
/* (In)
PRO_B_TRUE to bring up the Fix Model UI in the event of regeneration failure; PRO_B_FALSE to abort the element adding.
*/
ProAnnotation* annotations
/* (In)
ProArray of ProAnnotation to use in the new elements. The size of this array indicates the number of new elements to create. Any individual ProAnnotation whose type is set to PRO_TYPE_UNUSED will be used to create a general annotation element instead of an annotation element which references an annotation.
*/
ProAnnotationElem** elements
/* (Out)
ProArray of new annotation elements. Free this using ProArrayFree().
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_CANT_MODIFYOnly one set datum tag can exist in Datum Target annotation feature

Manual References:

  1. Annotations: Annotation Features and Annotations: Redefining Annotation Features
  2. Annotations: Annotation Features and Annotations: Redefining Annotation Features