Category 3D drawings and annotations, Object ProAnnotationelem

Function ProAnnotationelemArrayReferencesSet


Description
Replaces all of the each of the annotation elements' user-defined references with the indicated sets.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationElem.h>
ProErrorProAnnotationelemArrayReferencesSet(
ProSelection feature
/* (In)
The feature which owns all of the annotation elements. If the feature's references are to other members of an assembly, the component path must be specified.
*/
ProAnnotationElem* element
/* (In)
ProArray of annotation elements. All of these elements must belong to the same feature.
*/
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.
*/
ProAnnotationReferenceSet* reference_set
/* (In)
ProArray of annotation reference sets. The number of sets should match the number of elements to be modified.
*/
)
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.
PRO_TK_E_AMBIGUOUSThe number of reference sets does not match the number of elements supplied.
PRO_TK_INVALID_ITEMOne or more annotation elements do not belong to the owner feature.

Manual References:

  1. Annotations: Annotation Features and Annotations: Modification of Annotation Elements
  2. Annotations: Annotation Features and Annotations: Modification of Annotation Elements