Category 3D drawings and annotations, Object ProAnnotationelem

Function ProAnnotationelemReferencesSet


Description
Replaces all of the annotation element's user-defined references with the indicated sets.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationElem.h>
ProErrorProAnnotationelemReferencesSet(
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 setting.
*/
ProAnnotationReference* references
/* (In)
ProArray of annotation references.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_BAD_CONTEXTThe reference array contains the same reference more than once.
PRO_TK_UNATTACHED_FEATSReference modification was aborted due to regeneration failure.
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