Category 3D drawings and annotations, Object ProAnnotationelem

Function ProAnnotationelemDependencySet


Description
Sets the dependency flag of the specified annotation element. Applicable only for annotation elements owned by data sharing features.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProAnnotationElem.h>
ProErrorProAnnotationelemDependencySet(
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.
*/
ProBoolean dependent
/* (In)
PRO_B_TRUE if the annotation element is dependent on its parent, PRO_B_FALSE if not.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more inputs was invalid.
PRO_TK_NO_CHANGEThe input flag is the same as the current value.
PRO_TK_CANT_ACCESSThe element is not owned by a data sharing feature.
PRO_TK_E_NOT_FOUNDThe data sharing feature's parent model is not in memory.
PRO_TK_NOT_VALIDThe element is owned by an independent feature.

Manual References:

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