Category 3D drawings and annotations, Object ProAnnotationelem

Function ProAnnotationelemReferenceWeaken


Description
Converts a strong reference to a weak reference.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationElem.h>
ProErrorProAnnotationelemReferenceWeaken(
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's attribute changing.
*/
ProAnnotationReference* reference
/* (In)
The item to use as a weak reference.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_E_NOT_FOUNDThe annotation element doesn't contain this strong reference.
PRO_TK_CANT_WRITEThis strong reference may not be weakened due to the rules for the individual annotation.

Manual References:

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