Category 3D drawings and annotations, Object ProAnnotationelem

Function ProAnnotationelemReferenceAdd


Description
Adds a strong reference to the annotation element.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationElem.h>
ProErrorProAnnotationelemReferenceAdd(
ProSelection element
/* (In)
The annotation element. If the annotation element 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 reference adding.
*/
ProAnnotationReference* reference
/* (In)
The item to use as a strong reference.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_E_FOUNDThe annotation element already has a reference to this item.
PRO_TK_CANT_MODIFYUser defined references are not permitted for driving dimension annotation elements.

Manual References:

  1. Annotations: Annotation Features and Annotations: Modification of Annotation Elements
  2. Annotations: Annotation Features and Annotations: Modification of Annotation Elements
  3. Annotations: Annotation Features and Annotations: Example 1: Creating/ Adding Annotation Element Array Reference Set